I'm trying to reset the DeflateBufferSize
directive like so in my .htaccess file:
DeflateBufferSize 1024
SetOutputFilter DEFLATE
But the result of each page is then 500 internal server error(this happens even if I set it to its default value of 8096). If I remove that line everything's fine. Why is this happening, do I need to set it differently?
Asked
Active
Viewed 807 times
0

Core_dumped
- 1,571
- 4
- 16
- 34
1 Answers
1
Please set it in httpd.conf
. Things should work fine after that.
As you can learn from Apache documentation, the DeflateBufferSize directive can be set only at the server level and virtual host level (not at directory level, not in .htaccess
). This is why Apache returns 500 Internal Server Error
.

axiac
- 68,258
- 9
- 99
- 134

Sumit Agarwal
- 11
- 1