Forum Moderators: phranque

Message Too Old, No Replies

DeflateCompressionLevel Setup

.htaccess and mod_deflate modifications

         

agi09

4:06 pm on Sep 7, 2009 (gmt 0)

10+ Year Member



Hello community,

I was interested in finding out if anyone has been able to successfully modify their DeflateCompressionLevel on an Apache 2.0.X server to an either higher or lower level of compression from the default level 6.

My current efforts seem to be leading me in a 500 Internal Server Error report every time I include the declaration in my .htaccess file. After many trials and lots of research, I am getting the feeling that I either have to wrap the DeflateCompressionLevel declaration with proper tags or include the code elsewhere (e.g. the http.conf).

Thank you community in advance for your help as any guidance/direction will truly be appreciated.

Caterham

7:30 pm on Sep 7, 2009 (gmt 0)

10+ Year Member



While taking a look at the manual of that directive you might notice that this directive is not allowed in directory context nor .htaccess files (row "Context:" in that box).

elsewhere (e.g. the http.conf).

Correct.