Commit 927c5a09 authored by mig5's avatar mig5 Committed by mig5
Browse files

#661662 by mathieu - apply new .htaccess changes from Drupal 6.15

parent 00a16fb8
...@@ -142,8 +142,14 @@ DirectoryIndex index.php ...@@ -142,8 +142,14 @@ DirectoryIndex index.php
# Cache all files for 2 weeks after access (A). # Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600 ExpiresDefault A1209600
# Do not cache dynamically generated pages. <FilesMatch \.php$>
ExpiresByType text/html A1 # Do not allow PHP scripts to be cached unless they explicitly send cache
# headers themselves. Otherwise all scripts would have to overwrite the
# headers set by mod_expires if they want another caching behavior. This may
# fail if an error occurs early in the bootstrap process, and it may cause
# problems if a non-Drupal PHP file is installed in a subdirectory.
ExpiresActive Off
</IfModule> </IfModule>
# Various rewrite rules. # Various rewrite rules.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment