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.