View Single Post
Unread 15 Jun 2004, 15:20   #16
GReaper
The BOFH
 
GReaper's Avatar
 
Join Date: Mar 2001
Posts: 463
GReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant futureGReaper has a brilliant future
Re: Planet Dumps (NOW new and improved - 08 June 2004)

Code:
<IfModule mod_deflate.c>
    <Directory "/path/to/botfiles">
        # Only do text files
        AddOutputFilterByType DEFLATE text/html text/plain text/xml

        # Problems with a few browsers
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

        # Use compression level 1
        DeflateCompressionLevel 1
    </Directory>
</IfModule>
OMG! Such effort required to get gzip compression enabled.
GReaper is offline   Reply With Quote