Skip to content
Browse files

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

  • Loading branch information...
1 parent 8c08445 commit dac15682b35ad69f519205e1b82694d0cab189ca @fhemberger fhemberger committed with alrra
Showing with 3 additions and 0 deletions.
  1. +3 −0 .htaccess
3 .htaccess
@@ -164,6 +164,9 @@ AddType text/x-vcard vcf
# 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.
Something went wrong with that request. Please try again.