It appears that AddOutputFilterByType options also apply to the
subdirectories. However this directive overwrites the default value or
the one defined in the parent directory.
Therefore we only want to add this directive to the root directory and
with all the mime types.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
AddEncoding x-gzip .gz
AddType text/plain .log
- AddOutputFilterByType DEFLATE text/plain
+ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css image/svg+xml
</Directory>
<Directory /srv/static.debian.org/mirrors/lintian.debian.org/cur/resources>
# Cache these for a year (3600 * 24 * 365.25)
# Files in here will change name if their content change
Header set Cache-Control "max-age=31557600, public"
- AddOutputFilterByType DEFLATE image/svg+xml
</Directory>
RewriteEngine on