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?

Reply via email to