Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a subdomain pointed at my server and in IIS 7.5 have a site set up for it which works fine.

If I navigate to the default index.php page loads as it should.

I also have a sub-section of the site located at

This also has a default index.php page, however when I navigate to that URL, I get a 404 error. Entering the full path to the index file (i.e. .../index.php) loads fine.

I have checked the default document for both the root and the subdirectory, and they are the same.

Any ideas how to get the default document in the subdirectory loading?

share|improve this question
Have you checked IIS logs for that site? As well event viewer might shed some light. – Vick Vega Aug 18 '11 at 16:48
i have just checked the log file and instead of logging the request as "GET /viewer/" as one would expect, it is logging the request as "GET /view.php id=viewer" – Leo Aug 19 '11 at 7:42
Have you validated that permissions on both folders are the same? As well, who's defined as the IIS user? Anonymous? – Vick Vega Aug 19 '11 at 14:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.