RewriteEngine On RewriteBase / RewriteRule Newsletter/JAN06/JANArticle([0-9]).html http://63.151.44.188/Newsletter/JAN06/JANArticle$1.html [L] RewriteCond %{HTTP_HOST} ([^.]+)\.sonamedspa.com [NC] RewriteCond %{HTTP_HOST} !^www #RewriteRule ^(.*) http://sonamedspa.com/%1/ [L,R] RewriteRule ^(.*) http://sonamedspa.com/%1/$1 [P] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !typo3temp RewriteCond %{REQUEST_URI} !fileadmin RewriteCond %{REQUEST_URI} !typo3 RewriteCond %{REQUEST_URI} !uploads RewriteCond %{REQUEST_URI} !t3lib RewriteCond %{REQUEST_URI} !html RewriteCond %{REQUEST_URI} !htm RewriteCond %{REQUEST_URI} !cfm RewriteCond %{REQUEST_URI} !php RewriteRule ^(.+[^/])$ $1/ [L,R] RewriteCond %{REQUEST_URI} htm$ RewriteRule ^(.+htm)$ /$1l [L,R] RewriteCond %{REQUEST_URI} !typo3 RewriteRule ^([a-zA-Z0-9+*_\-]*)$ /index.php?&franchisee=$1 [L] RewriteCond %{REQUEST_URI} !typo3 RewriteRule ^([a-zA-Z0-9+*_\-]*)/$ /index.php?&franchisee=$1 [L] RewriteCond %{REQUEST_URI} !fileadmin RewriteRule ^([a-zA-Z0-9+*_\-]*)/([a-zA-Z0-9+*_\-]*).([a-zA-Z0-9\_]*)([\+]*)([a-zA-Z0-9]*).([a-zA-Z0-9]*).html$ /index.php?&id=$3&type1=$6&md5hash=$5&franchisee=$1 [L] RewriteRule ^([a-zA-Z0-9+*_]*)/typo3temp/([a-zA-Z0-9.]*)/([a-zA-Z0-9+*_]*).([a-zA-Z0-9+*_]*)$ /typo3temp/$2/$3.$4 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/fileadmin/([a-zA-Z0-9+*_\-]*)/([a-zA-Z0-9+*_\-\.]*)$ /fileadmin/$2/$3 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/fileadmin/([a-zA-Z0-9+*_\-]*)/([a-zA-Z0-9+*_\-\.]*)/([a-zA-Z0-9+*_\-\.]*)$ /fileadmin/$2/$3/$4 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/uploads/([a-zA-Z0-9+*_\-]*)/([a-zA-Z0-9+*_\-\.]*)$ /uploads/$2/$3 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/uploads/([a-zA-Z0-9+*_\-\.]*)$ /uploads/$2 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/typo3/sysext/([a-zA-Z0-9+*_\-\.\/]*)$ /typo3/sysext/$2 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/typo3conf/ext/([a-zA-Z0-9+*_\-\.\/]*)$ /typo3conf/ext/$2 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/t3lib/gfx/([a-zA-Z0-9+*_\-\.\/]*)$ /t3lib/gfx/$2 [L] RewriteRule ^([a-zA-Z0-9+*_\-]*)/index.cfm$ /index.php?&franchisee=$1 [L] RewriteRule ^typo3$ typo3/index_re.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php [L] php_flag show_errors E_ALL