Category: developers journal
Upgrade to Apache 2.4 and AddOutputFilterByType issue
For quite some time now, we have been using Apache module mod_deflate to gzip some static content served by Apache automatically:
If you upgraded from Apache 2.2 to 2.4, you will notice error in your apache log:
Invalid command ‘AddOutputFilterByType’, perhaps misspelled or defined by a module not included in the server configuration.
To fix this, enable mod_filter and restart Apache. mod_filter is required in 2.4, although in 2.2 was not the case.
2 thoughts on “Upgrade to Apache 2.4 and AddOutputFilterByType issue”
October 12, 2012 at 20:28
Thanks for this article. This has said what I have to do. I think you can tell us how to enable that with shell command or manually.
June 14, 2014 at 08:43
Wow thanks man. This had been giving me headaches for such a long time… phew!