Active
Project:
Provision boost support
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 May 2012 at 14:08 UTC
Updated:
24 May 2012 at 14:37 UTC
Since Boost 6.x.1.20 (todo: check for 7.x-1.x), part of the htaccess code was moved to cache/.htaccess
For example:
AddDefaultCharset utf-8
<FilesMatch "\.((html)|((html)\.gz))$">
<IfModule mod_expires.c>
ExpiresDefault A1
</IfModule>
<IfModule mod_headers.c>
Header set Expires "Sun, 19 Nov 1978 05:00:00 GMT"
Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
</IfModule>
</FilesMatch>
<IfModule mod_mime.c>
AddCharset utf-8 .html
AddCharset utf-8 .css
AddCharset utf-8 .js
AddEncoding gzip .gz
</IfModule>
<FilesMatch "\.(html|html\.gz)$">
ForceType text/html
</FilesMatch>
<FilesMatch "\.(js|js\.gz)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css|css\.gz)$">
ForceType text/css
</FilesMatch>
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks
Comments
Comment #1
bgm commented(version is irrelevant, but bumping to latest)
Comment #1.0
bgm commentedfixed code syntax