i am getting just a little problem with modrewrite under php. this really is within my .htaccess file:
RewriteEngine On RewriteRule ^test.html$ test.php RewriteRule ^index.html$ index.php
it really works nicely with test.html -> test.php but i am getting an 404 error when attempting to acceses my domain like www.domain.com/index.html althought it is the same structure and really should work .. :/ when utilizing www.domain.com only it really works.
any idea wrong with using index.php -> index.html?
It may sound like index.php does not exist.
When you attend http://www.domain.com it will hit index.html (or index.php) as well as in the situation of index.html it will not fire your rewrite rule (because the request uri is / or empty string)