Hello!
I try to install boost, but the cached pages are not served from the server. I readed all the information and tried to do everything about this problem, but without success.
My instalation is in subfolder blog, and I created folder cache where i store the cached files (without domain subfolder). The files are there, but I can't find way to point to them from htaccess.
Please, help
This is my htaccess
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{REQUEST_URI} ^/$
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{HTTP_COOKIE} !DRUPAL_UID
RewriteCond %{DOCUMENT_ROOT}/cache/index.html -f
RewriteRule ^(.*)$ cache/index.html [L]
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{REQUEST_URI} !^/cache
RewriteCond %{REQUEST_URI} !^/user/login
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{HTTP_COOKIE} !DRUPAL_UID
RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_URI} -d
RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_URI}/index.html -f
RewriteRule ^(.*)$ cache/$1/index.html [L]
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{REQUEST_URI} !^/cache
RewriteCond %{REQUEST_URI} !^/user/login
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{HTTP_COOKIE} !DRUPAL_UID
RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_URI}.html -f
RewriteRule ^(.*)$ cache/$1.html [L]
Comments
Comment #1
mikeytown2 commentedRead this thread for sub folder installs
#101147: support subdirectory Drupal installations