#DirectoryIndex default.jsp #ErrorDocument 404 /coop.php AddType text/html .htm .html .asp .aspx .cfm .jsp RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^(www\.)?coupon-coupon\.com$ [NC] rewriteRule ^/?$ default.asp RewriteCond %{REQUEST_FILENAME} ^(.*)\.cfm [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.asp [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.aspx [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.jsp [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.shtml [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.htm [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.php [NC,OR] RewriteCond %{REQUEST_FILENAME} ^(.*)\.html [NC] RewriteCond %{REQUEST_FILENAME} !^.*passthru\.php$ [NC] RewriteCond %{REQUEST_FILENAME} !^.*upload_.*\.php$ [NC] RewriteCond %{HTTP_HOST} ^(www\.)?coupon-coupon\.com$ [NC] RewriteRule ^(.*) /home/couponc/public_html/passthru.php?file=$1