Context: IIS7, Win7, Joomla 1.5
With this URL, http://website/foo , if I have a subdirectory called "foo" in the root of the Joomla install, IIS7 tries to find index.php in it and returns a 403 before Joomla gets going.
With this URL, http://website/bar , if I don't have subdirectory called "bar", IIS7 passes the URL through to Joomla and lets it take care of whether the page exists or not.
In the event of http://website/foo , how do I set up IIS7 so that it ignores the fact that there's a "foo" subdirectory, and passes the full URL to Joomla?
As part of the installation of Joomla on IIS, you probably (or at least should) have created a web.config that looks similar to this:
To stop IIS from checking for existing files and directories before rewriting to Joomla, you should remove the following two lines:
The best answer I got for this came from StackOverflow