- ππΊHungary danyg Budapest
Today I run into a similar issue (although I have good experiences with Boost on other sites) and I had to uncomment the following lines in the .htaccess to make the admin functionality work
# Caching for anonymous users # Skip boost IF not get request OR uri has wrong dir OR cookie is set OR request came from this server OR https request #RewriteCond %{REQUEST_METHOD} !^(GET|HEAD|POST)$ [OR] #RewriteCond %{REQUEST_URI} (^/(admin|cache|misc|modules|sites|system|openid|themes|node/add|comment/reply))|(/(edit|user|user/(login|password|register))$) [OR] #RewriteCond %{HTTPS} on [OR] #RewriteCond %{HTTP_COOKIE} DRUPAL_UID [OR] #RewriteCond %{ENV:REDIRECT_STATUS} 200 #RewriteRule .* - [S=2]
And I updated my .htaccess to work for anonyms like this:
# NORMAL RewriteCond %{REQUEST_METHOD} !^(GET|HEAD)$ [OR] RewriteCond %{HTTP_COOKIE} !DRUPAL_UID RewriteCond %{DOCUMENT_ROOT}/cache/%{ENV:boostpath}/%{HTTP_HOST}%{REQUEST_URI}_%{QUERY_STRING}\.html -s RewriteRule .* cache/%{ENV:boostpath}/%{HTTP_HOST}%{REQUEST_URI}_%{QUERY_STRING}\.html [L,T=text/html]
I spent many hours with debugging, I know this is not an optimal solutions (I wasn't able to figure out what's wrong here), but this was my workaround.