: Problem using mod_deflate with ProxyPass Using Apache 2.0 (2.0.53) on a particular legacy system, enabling mod_deflate causes directly-served content to be gzip-encoded just fine. However, and this
Using Apache 2.0 (2.0.53) on a particular legacy system, enabling mod_deflate causes directly-served content to be gzip-encoded just fine. However, and this is my problem, content proxied from another server using ProxyPass is not getting gzip-encoded. Wireshark shows me there is no encoding header in the response and the body is in plain text.
I have another similar system, also running Apache 2.0 (2.0.52), where the proxied content IS being gzipped, and I can't find any significant difference between the configuration of the two systems.
Details:
mod_deflate is being enabled using a file /etc/httpd/conf.d/deflate.conf containing:
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript application/json
</ifModule>
The proxying is being done within the <VirtualHost> section using these lines:
ProxyPass /mtserver localhost:8000 ProxyPassReverse /mtserver localhost:8000
Can anyone point me at a possible reason for one system not compressing the proxied content?
More posts by @Merenda212
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.