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 site who needs to be pointed to: inetpub\wwwroot\cakephp\app\webroot\

If I point the "Default Web Site" to that directoy, my web application works perfectly.

Now, as I want to add more sites to that same computer, I am pointing the "Default Web Site" to inetpub\wwwroot\ and the concrete folder for my web application to the previous path inetpub\wwwroot\cakephp\app\webroot\.

When I do this I have noticed it doesn't even execute the index.php file located inside inetpub\wwwroot\cakephp\app\webroot\ contrary as it should. It only does it when accessing directly to the root of the site.

To clarify it:

  • executes inetpub\wwwroot\cakephp\app\webroot\index.php

  • does NOT executes inetpub\wwwroot\cakephp\app\webroot\index.php

Why is this happening? Why it doesn't recognize the given path when I add any parameter to the URL? It tries to list the folder content instead...


enter image description here

share|improve this question
Things to check: Does the application have the correct execution settings? Is the default document set? Is the .php extension in the handler mappings? – Chris McKeown Feb 7 '13 at 12:53
The .php extension is added and the default document enabled. Plus it works well when I navigate to the root site folder as I said. The web site folder has "Script source access", "Read" and "Write" (configured inside Properties/Virtual Directory). – Steve Feb 7 '13 at 12:56

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.