2
我使用Apache 2.4作为代理服务器。所有具有myapp
的请求都被重定向到提供文件的tomcat。我正在使用mod_proxy.so
(代理)和mod_deflate.so
(gzip)。在我的httpd.config(Apache配置),这是我有:Apache代理gzip
ProxyPass /myapp/ http://myserver:58080/myapp/
<Location /fusebox/>
ProxyPassReverse /myapp/
RequestHeader unset Accept-Encoding
#SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml text/javascript application/x-javascript application/x-httpd-php
</Location>
你有什么建议,为什么这是行不通的? 谢谢