Forum Moderators: phranque
[webmasterworld.com...]
Now what I want to do is parse PHP in .html files which works well so far. However now I want to use mod_rewrite to clean some of my urls. I've tracked it down to this bit in the apache config file:
<Directory "D:/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
If AllowOverride is set to 'None', php is parsed in .html files but mod_rewrite doesn't work and throws up a 404 error (presumably because it is ignoring the rewrite comments in the .htaccess file).
But if AllowOverride is set to 'All', mod_rewrite works for .php files but any url called with .html extension I get a 403 error like in my previous post.
To me this is bizarre and I have no idea what to do.
Ta,
R
Deleted and now fine. Doh!