AddHandler application/x-httpd-php .php .html .htm DirectoryIndex Back-Pain-Missed-Workouts.html # index.html to root RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(([^/]+/)*)index\.html\ HTTP/ RewriteRule index\.html$ http://www.discountmassagechairs.com/%1 [R=301,L] #PHP Global on only for DiscountMassageChairs.com Server (Aweber) #php_value register_globals on #non-www to www RewriteCond %{HTTP_HOST} ^discountmassagechairs\.com [NC] RewriteRule ^(.*)$ http://www.discountmassagechairs.com/$1 [R=301,L] #added on 01/31/2007 ErrorDocument 404 /custom404.html