2012-08-09 30 views
0

我們有一個GlassFish應用運行在端口8080Glassfish的,阿帕奇(AJP)和Internet Explorer

的應用程序與AJP配置一個Apache httpd的服務器背後:

ProxyRequests Off 
<Proxy *> 
    AddDefaultCharset Off 
    Order deny,allow 
    Allow from all 
</Proxy> 

<Location /> 
    ProxyPass  ajp://example.org:8009/ 
    ProxyPassReverse ajp://example.org:8009/ 
</Location> 

,一切工作正常使用時Safari,Firefox或Opera。如果我們在某個地方使用IE,則2000將被預置爲輸出:在HTML頁面開始之前,我們會得到一個2000\n

2000 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"><head> 
[...] 

然後癱瘓頁面。

如果我們直接連接到8080端口上的Glassfish,一切正常。

編輯

Eccording到http://java.net/jira/browse/GLASSFISH-18341由於不需要用於IE> = 6.0降級Apache默認設置應當被更新以

BrowserMatch ".*MSIE [2-5]\..*" \ 
nokeepalive ssl-unclean-shutdown \ 
downgrade-1.0 force-response-1.0 

問題仍然存在

任何提示?

回答

0
BrowserMatch ".*MSIE [2-5]\..*" \ 
nokeepalive ssl-unclean-shutdown \ 
downgrade-1.0 force-response-1.0 

確實是正確答案!小心掃描您的httpd.conf文件附加

SetEnvIf User-Agent ".*MSIE.*" \ 
nokeepalive ssl-unclean-shutdown \ 
downgrade-1.0 force-response-1.0 

可能存在(也應該進行調整)