summaryrefslogtreecommitdiffstats
path: root/htaccess/boosted.txt
diff options
context:
space:
mode:
Diffstat (limited to 'htaccess/boosted.txt')
-rw-r--r--htaccess/boosted.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/htaccess/boosted.txt b/htaccess/boosted.txt
index 262e3f3..6fa816e 100644
--- a/htaccess/boosted.txt
+++ b/htaccess/boosted.txt
@@ -82,16 +82,20 @@ DirectoryIndex index.php
# Rewrite rules for static page caching provided by the Boost module
# BOOST START
RewriteCond %{REQUEST_URI} !^/cache
+ RewriteCond %{REQUEST_URI} !^/user/login
+ RewriteCond %{REQUEST_URI} !^/admin
+ RewriteCond %{HTTP_COOKIE} !DRUPAL_UID
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{QUERY_STRING} ^$
- RewriteCond %{HTTP_COOKIE} !DRUPAL_UID
RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}/0/%{REQUEST_URI} -d
RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}/0/%{REQUEST_URI}/index.html -f
RewriteRule ^(.*)$ cache/%{HTTP_HOST}/0/$1/index.html [L]
RewriteCond %{REQUEST_URI} !^/cache
+ RewriteCond %{REQUEST_URI} !^/user/login
+ RewriteCond %{REQUEST_URI} !^/admin
+ RewriteCond %{HTTP_COOKIE} !DRUPAL_UID
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{QUERY_STRING} ^$
- RewriteCond %{HTTP_COOKIE} !DRUPAL_UID
RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}/0/%{REQUEST_URI}.html -f
RewriteRule ^(.*)$ cache/%{HTTP_HOST}/0/$1.html [L]
# BOOST END