- Patch #1116416 by Kars-T, Coornail: use 'Header set' instead of 'Header append' in .htaccess to avoid double encoding.

merge-requests/26/head
Dries Buytaert 2011-09-18 20:42:17 -04:00
parent 87abe1447f
commit e7b5088ef9
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ DirectoryIndex index.php index.html index.htm
<FilesMatch "(\.js\.gz|\.css\.gz)$">
# Serve correct encoding type.
Header append Content-Encoding gzip
Header set Content-Encoding gzip
# Force proxies to cache gzipped & non-gzipped css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>