2012-08-09 83 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 

可能存在(也应该进行调整)