View Single Post
  #7  
Old 07-29-2010, 11:23 AM
frankvh frankvh is offline
New Member
 
Join Date: Jul 2010
Posts: 8
Quote:
Originally Posted by mistwang View Post
RewriteRule frankandcolleen/index.html - [T=application/x-httpd-php]
Tried it, with and without the hypen "-" in the middle; sorry, didn't work.

Currently the only thing that's working is the global:
AddType application/x-httpd-php .html

The thing that bugs me is, doesn't RewriteRule have a really crazy syntax? Well I think it does for apache - no idea about differences for litespeed.
www . webforgers.net/mod-rewrite/mod-rewrite-syntax.php
So I wonder if you can even just type in filenames like that. I've been attempting variations on this kind of a theme:

RewriteRule ^frankandcolleen/index\.html$ frankandcolleen/index\.html [T=application/x-httpd-php, L]

No luck.
Reply With Quote