Hi.
Our site is running on http://forum.mywebsite.com (anything that hits www.mywebsite.com etc gets redirected by IIS to forum.mywebsite.com)
It's using V3 on ISAPI Rewrite, and I've checked that the httpd.conf works (I can 403 deny permission to site.
I think the rewrite rules need tweaking, anyone able to assist?
RewriteEngine On
RewriteCond %{HTTP_HOST} .*mywebsite.com
RewriteRule ^/forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{HTTP_HOST} .*mywebsite.com
RewriteCond %{REQUEST_URI} !/forum/(admincp/|modcp/|cron)
RewriteRule ^/forum/((archive/)?(.*\.php(/.*)?))$ /forum/vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{HTTP_HOST} .*mywebsite.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^/forum/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^/forum/(.+)$ /forum/vbseo.php?vbseourl=$1 [L,QSA]







Reply With Quote