Example of an old config: ServerName lunixbrat.com ServerAlias *.lunixbrat.com ServerAdmin webmaster@lunixbrat.com DocumentRoot /data1/www/lunixbrat.com/htdocs/ ErrorLog /data1/www/lunixbrat.com/logs/error.log CustomLog /data1/www/lunixbrat.com/logs/access.log combined # enable mod_deflate for entire site AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript text/csv # Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4\.0[678] no-gzip # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex won't work. You can use the following # workaround to get the desired effect: BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html Example of a new config (using mod_macro): Use BASIC_SITE lunixbrat.com webmaster@lunixbrat.com Use BASIC_LOGS lunixbrat.com Use STRIP_WWW lunixbrat.com Use MOD_DEfLATE