RewriteEngine On RewriteRule ^broadcastEmailFiles\/(.*) http://public.mncar.org/broadcastEmailFiles/$1 [L,R=301] # http://public.mncar.org/resource/annual-market-reports.html #RewriteRule ^resource/annual-market-reports.html http://public.mncar.org/account/annual-market-reports.html [L,R=301] RewriteRule ^resource/annual-market-reports.html http://ira.dev.adaptainc.com/mncar.org/trunk/www/account/annual-market-reports.html [L,R=301] # FORCE PHP5 HOST #RewriteCond %{HTTP_HOST} ^[^.]+\.cat\.fr-wd\.com$ #RewriteRule ^(.+) %{HTTP_HOST}/$1 [C] #RewriteRule ^([^.]+)\.cat\.fr-wd\.com/(.*) http://$1.kitten.fr-wd.com/mncar.org/trunk/www/$2 [L,R=301] # Set PHP5 for cat.fr-wd.com #AddHandler php5-cgi .php RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php?_path=$1 [QSA] DirectoryIndex index.php Options FollowSymLinks