Re: apache fastcgi module and gzip
Thomas Hurst <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Organization | Not much. |
| Message-ID | <[email protected]> |
* Maity, Omprakash (opm-W2hqgAdRMsX2eFz/[email protected]) wrote: > I wanted to know how to send gzipped html files back to the browser > which are created by my fastcgi application on the fly? > > I understand that to send static html files gzipped, I need to install > mod_gzip module. mod_deflate (Apache 2) and mod_gzip (Apache 1) should work fine. lighttpd's gzip module doesn't seem to support it sadly, but in that case you can do as someone else suggested and compress in your application based on the browser sending Accept-Encoding: gzip. To use AddOutputFilterByType in Apache 2 requires a 1-line patch I posted to the list a week or two ago; otherwise you can use AddOutputFilter and the usual env vars. See the Apache docs. -- Thomas 'Freaky' Hurst http://hur.st/ ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/