apache2.0 with mod_deflate and internal redirects?
Bill McGonigle
bill at bfccomputing.com
Thu Dec 7 12:07:50 EST 2006
On Dec 7, 2006, at 09:49, Bill McGonigle wrote:
> Has anyone here managed to patch up apache 2.0 to do mod_deflate
> compression in the face of internal redirects (e.g.
> RewriteRule's)? I have an fc4 system that's working nicely except
> for this for a tomcat app. I see apache 2.2 can do it as of this
> past April, but the 1-liner patch from apache 2.2. doesn't make
> apache 2.0 do it.
I was looking at the wrong snv patch....
There are lots of complaints about this on the 'net, but not much in
the way of solutions. If anyone else gets stuck with this feel free
to have at:
http://bfccomputing.com/downloads/fedora/httpd-proxy-deflate/
for a patched apache (backport from 2.2, for fc4) that allows
deflating of proxied requests (RewriteRule [P]).
This is the conf file magic:
# gzip text responses
AddOutputFilterByType DEFLATE text/html text/plain text/xml test/
css application/x-javascript
The result was a 50% reduction in the Internet utilization by a
client's web app (the other option was increasing from a 10 to 20Mbit
connection).
-Bill
-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill at bfccomputing.com Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf
For fastest support contact, please follow:
http://bfccomputing.com/support_contact.html
More information about the gnhlug-discuss
mailing list