my main .httaccess file.
Quote:
RewriteEngine On
#RewriteBase /
DirectoryIndex index.php
RewriteCond %{HTTP_HOST} !^www\.alcohol-injection\.com
RewriteRule (.*) http://www.alcohol-injection.com/forum/$1 [L,R=301]
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteRule ^(.*)$ testvb/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
ErrorDocument 404 /forum/404.php |
.httaccess in my forum/gallery/ folder