
11-29-2011, 10:51 PM
|
|
New Member
|
|
Join Date: May 2011
Posts: 9
|
|
Quote:
Originally Posted by NiteWave
you can try cache 1 page first -- for example phpinfo() page, to get it working.
you can do it in rewriterule.
|
I tried that - still nothing.
This is what my rules look like:
Code:
RewriteEngine On
Header unset ETag
FileETag None
ExpiresActive on
ExpiresByType image/jpg "access plus 1 months"
ExpiresByType image/gif "access plus 1 months"
ExpiresByType image/jpeg "access plus 1 months"
ExpiresByType image/png "access plus 1 months"
RewriteCond %{HTTP_HOST} !^nikonites\.com
RewriteRule (.*) http://nikonites.com/$1 [R=301,L]
#rules for litespeed cache:
RewriteCond %{HTTP_COOKIE} !vbseo_loggedin=yes
RewriteCond %{HTTP_COOKIE} !bb_userid=
RewriteCond %{HTTP_COOKIE} !bb_password=
#RewriteCond %{ORG_REQ_URI} ^/(index\.php|)$
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{QUERY_STRING} ^$
RewriteRule (.*) - [E=Cache-Control:max-age=120]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images|api\.php)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
|