httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kranti K K Parisa" <kranti.par...@gmail.com>
Subject [users@httpd] mod_deflate config error
Date Thu, 17 Jan 2008 11:14:00 GMT
Hi,

I am trying to use mod_deflate module on apache 2.
my httpd.conf contains sthe following.

LoadModule deflate_module modules/mod_deflate.so
<Location />
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI\.(?:gif|jpe?g|png|wav|mp3|ogg|bmp|avi|mpg)$
no-gzip dont-vary
DeflateCompressionLevel 7
DeflateWindowSize 15
</Location>

and also i tried with the following:

LoadModule deflate_module modules/mod_deflate.so
<IFModule mod_deflate.c>
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IFModule>

both the cases apache is not getting started.
any clues?

Mime
View raw message