I wanted to redirect a file in a webspace of /directory/index.html to /directory/index.php so mod_rewrite for apache comes to mind!
I've never actually rewritten a directory path before so I thought it would be
RewriteRule ^/directory/index\.html$ /directory/index.php
After trying it nothing happened.... :( oddly enough you just need to chop the first / off so the rule would be
RewriteRule ^directory/index\.html$ directory/index.php