and the same for any possible url whether it it actually exists on the sever or not.
The reason for this is that I have an old site that basically nw just consists of the index.html page all the other stuff has been cleared out - but there are many links etc to specific pages on the site that I would like just directed to the index page. I've tried a few things but non seem to work.
You'll need to add a required space preceding the "!" in the RewriteCond. Posting on this board invokes a filter that removes "extra" spaces, and our code falls victim to it. The work-around is to type two spaces.
Also, you won't need the "Order" directive, unless you have subsquent "Allow from" and/or "Deny from" directives.