Thread: .htaccess crap
View Single Post
Old 2007-01-04, 03:39 PM   #14
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
You might be able to use something like

RewriteRule ^(.*)\.html$ $1.php [QSA]

but then you would want to also make sure the destination file exists, etc.

I'm not sure why your hosting company won't turn it on for you -- the load generated is exactly the same.

If you can't parse .html pages with php, and you rename all your pages to php so that they can be parsed, there is no difference in terms of cpu horsepower required to serve your site.

The right solution is to just have them turn on php parsing for html pages. I'm not sure what your hosting company's resistance is to doing that.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote