Permalink
Browse files

Add note about `AddOutputFilterByType` in Apache < v2.3.7

  • Loading branch information...
fhemberger authored and alrra committed Nov 15, 2012
1 parent 8c08445 commit dac15682b35ad69f519205e1b82694d0cab189ca
Showing with 3 additions and 0 deletions.
  1. +3 −0 .htaccess
View
@@ -164,6 +164,9 @@ AddType text/x-vcard vcf
</IfModule>
# Compress all output labeled with one of the following MIME-types
+ # (for Apache versions below 2.3.7, you don't need to enable `mod_filter`
+ # and can remove the `<IfModule mod_filter.c>` and `</IfModule>` lines as
+ # `AddOutputFilterByType` is still in the core directives)
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE application/atom+xml \
application/javascript \

0 comments on commit dac1568

Please sign in to comment.