From f0ca06e49d6f916c1b0e6d49de3a6d8200d01d6e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 18 Feb 2012 11:39:56 +0100 Subject: check for apache modules in htaccess files Signed-off-by: Florian Pritz --- data/.htaccess | 5 ++++- 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" -Header append Cache-Control "public" + + Header append Cache-Control "public" + + 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] + + RewriteEngine on + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)$ /index.php/?$1 [L] + -- cgit v1.2.3-24-g4f1b