• August 10, 2012

    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:

    AddOutputFilterByType DEFLATE text/html text/css application/x-javascript
    

    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.

Reader comments:

  1.  

    October 12, 2012 @ 20:28

    Syed Abidur Rahman says:

    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.

    Thanks again.

Have your say:

 
This blog is Gravatar friendly. Don't have Gravatar? Get one fast!
 

Proudly running on Word Press, and above all, proudly using Comic Sans.

Nivas.hr © Copyright 2009    All right reserved    Made in Croatia Yeah, we made our own site!Nivas.hr