{"id":2332,"date":"2012-08-10T11:46:13","date_gmt":"2012-08-10T10:46:13","guid":{"rendered":"http:\/\/www.nivas.hr\/blog\/?p=2332"},"modified":"2012-08-10T11:46:13","modified_gmt":"2012-08-10T10:46:13","slug":"upgrade-to-apache-2-4-and-addoutputfilterbytype-issue","status":"publish","type":"post","link":"https:\/\/www.nivas.hr\/blog\/2012\/08\/10\/upgrade-to-apache-2-4-and-addoutputfilterbytype-issue\/","title":{"rendered":"Upgrade to Apache 2.4 and AddOutputFilterByType issue"},"content":{"rendered":"<p>For quite some time now, we have been using Apache module mod_deflate to gzip some static content served by Apache automatically:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nAddOutputFilterByType DEFLATE text\/html text\/css application\/x-javascript\r\n<\/pre>\n<p>If you upgraded from Apache 2.2 to 2.4, you will notice error in your apache log:<br \/>\n<strong>Invalid command &#8216;AddOutputFilterByType&#8217;, perhaps misspelled or defined by a module not included in the server configuration.<\/strong><\/p>\n<p>To fix this, enable <strong>mod_filter<\/strong> and restart Apache. mod_filter is required in 2.4, although in 2.2 was not the case. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8216;AddOutputFilterByType&#8217;, perhaps misspelled or defined by a module not included in the server configuration. To fix&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/2332"}],"collection":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/comments?post=2332"}],"version-history":[{"count":8,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/2332\/revisions"}],"predecessor-version":[{"id":2341,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/2332\/revisions\/2341"}],"wp:attachment":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/media?parent=2332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/categories?post=2332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/tags?post=2332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}