diff options
-rw-r--r-- | data/.htaccess | 5 | ||||
-rw-r--r-- | htaccess.txt | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/data/.htaccess b/data/.htaccess index c8dfb58fd..bba3837a4 100644 --- a/data/.htaccess +++ b/data/.htaccess @@ -4,6 +4,9 @@ ExpiresByType application/javascript "access plus 1 year" </IfModule> -Header append Cache-Control "public" +<IfModule mod_headers.c> + Header append Cache-Control "public" +</IfModule> + FileEtag none diff --git a/htaccess.txt b/htaccess.txt index 60d053b77..f68be60a8 100644 --- a/htaccess.txt +++ b/htaccess.txt @@ -1,4 +1,6 @@ -RewriteEngine on -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ /index.php/?$1 [L] +<IfModule mod_rewrite.c> + RewriteEngine on + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)$ /index.php/?$1 [L] +</IfModule> |