View Single Post
Old 10-01-2012, 01:38 AM   PM User | #2
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 445
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
I'm not sure about individual files, but I know you can hide specific extension types.

Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
Replace php with another file extension to change it, html, htm, asp


http://eisabainyo.net/weblog/2007/08...-via-htaccess/
stevenmw is offline   Reply With Quote
Users who have thanked stevenmw for this post:
Microbug (10-01-2012)