全部,
我几乎成功地在 Apache/2.2.15 上实现了一个解析器,请参阅我的部分虚拟主机配置。
我仍然遇到的问题是何时对包含的两个 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&t=1364288620000 HTTP/1.1”200 1001584
“GET /html/js/everything.jsp?browserId=ie&themeId=classic&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=fr_FR&b=6120&t=1364288620000 HTTP/1.1”200 1001584
我总是收到两个字节的内容长度不匹配,响应头指示 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>
问候,
肯