Forum Moderators: phranque
If you are testing a site you should put it on a test. or dev. subdomain and password protect it to stop searchengines indexing it.
Finally, never link to or show "index.html" within a URL. The URL for a folder or for the index page in that folder ends with a trailing slash.
You will need something within the requested URL in order to signal that this is a URL request that should be rewritten, so that the rule can be crafted to rewrite only those requests, otherwise you will have to set things up such that ALL requests will be rewritten.