Use merge instead of append (#7341)

pull/7370/head
Aleksander Machniak 5 years ago
parent 87ca7a09dc
commit f0f6234a1a

@ -34,8 +34,8 @@ Options -Indexes
# Disable page indexing # Disable page indexing
Header set X-Robots-Tag "noindex, nofollow" Header set X-Robots-Tag "noindex, nofollow"
# replace 'append' with 'merge' for Apache version 2.2.9 and later # replace 'merge' with 'append' for Apache < 2.2.9
#Header append Cache-Control public env=!NO_CACHE #Header merge Cache-Control public env=!NO_CACHE
# Optional security headers # Optional security headers
# Only provides increased security if the browser supports those features # Only provides increased security if the browser supports those features

@ -252,11 +252,6 @@ To enable these features in apache the following modules need to be enabled:
The optimisation is already included in the .htaccess file in the top The optimisation is already included in the .htaccess file in the top
directory of your installation. directory of your installation.
If you are using Apache version 2.2.9 and later, in the .htaccess file
change the 'append' word to 'merge' for a more correct response. Keeping
as 'append' shouldn't cause any problems though changing to merge will
eliminate the possibility of duplicate 'public' headers in Cache-control.
Lighttpd: Lighttpd:
--------- ---------
With Lightty the addition of Expire: tags by mod_expire is incompatible with With Lightty the addition of Expire: tags by mod_expire is incompatible with

Loading…
Cancel
Save