Skip to content

Commit

Permalink
Add note about AddOutputFilterByType in Apache < v2.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
fhemberger authored and alrra committed Nov 18, 2012
1 parent 8c08445 commit dac1568
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit dac1568

Please sign in to comment.