我幾乎成功地在Apache/2.2.15上實現瞭解析器,請參閱我的虛擬主機配置的一部分。
問題,我仍然遇到的是當執行GET兩個包含的URL
「GET /html/js/everything.jsp?browserId=ie &的ThemeID = newTangoModuleTheme_WAR_newTangoModuleTheme & colorSchemeId = 01 & minifierType = JS & minifierBundleId = javascript.everything.files & languageId = fr_FR時& b = 6120 &噸= 1364288620000 HTTP/1.1" 200 1001584
「GET /html/js/everything.jsp?browserId=ie &的ThemeID =經典& colorSchemeId = 01 & minifierType = JS & minifierBundleId = javascript.everything.files & languageId = fr_FR時& B = 6120 &噸= 1364288620000 HTTP/1.1" 200 1001584
我總是接收兩個字節的conten長度不匹配,響應標題指示1001582,但服務器返回1001584,因此頁面未正確加載。
所有的信息都更受歡迎。
僅供參考 - 其他js和css頁面正確呈現只有兩個jsp頁面提供問題!!!
<VirtualHost ip address>
KeepAlive On
RewriteEngine on
RewriteLogLevel 4
RewriteLog /tmp/rewrite.log
AddDefaultCharset UTF-8
ProxyPreserveHost On
ProxyRequests Off
ProxyHTMLLogVerbose On
LogLevel Debug
ServerName srvname
# load additional modules to adjust responses
LoadFile /usr/lib64/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule xml2enc_module modules/mod_xml2enc.so
# Hacked by KR in order to allow full content parsing
RequestHeader unset Accept-Encoding
# Amigo here's the declaration for W3C HTML 4.01 and XHTML 1.0
ProxyHTMLLinks a href
ProxyHTMLLinks area href
ProxyHTMLLinks link href
ProxyHTMLLinks img src longdesc usemap
ProxyHTMLLinks object classid codebase data usemap
ProxyHTMLLinks q cite
ProxyHTMLLinks blockquote cite
ProxyHTMLLinks ins cite
ProxyHTMLLinks del cite
ProxyHTMLLinks form action
ProxyHTMLLinks input src usemap
ProxyHTMLLinks head profile
ProxyHTMLLinks base href
ProxyHTMLLinks script src for
ProxyHTMLLinks frame src longdesc
ProxyHTMLLinks iframe src longdesc
ProxyHTMLLinks body background
ProxyHTMLLinks applet codebase
ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
onmouseover onmousemove onmouseout onkeypress \
onkeydown onkeyup onfocus onblur onload \
onunload onsubmit onreset onselect onchange
ProxyHTMLEnable On
#ProxyHTMLExtended On
#ProxyHTMLMeta On
ProxyHTMLURLMap https://www.site1.be
ProxyHTMLURLMap http://www.site2.be
</VirtualHost>
問候,
肯