SEEKING HELP WITH PHP AND IIS
Hello,
I have an application written in PHP (a help desk application) that I originally deployed to a Linux box. Our company is Microsoft centric, so I ended up trying to port the application over to IIS 5. This is where I am having trouble.
The directory structure for the site is as follows:
<wwwroot> (on d drive, not c)
<labservices>
<helpdesk>
index.php (this is the login page to the help desk system)
I have installed PHP properly and configured it with IIS to run as ASPI. I have added the extension .php to the list of extensions as well as defined index.php to be a default page.
The symptom is that if I put this path in the broswer: http://10.21.2.105/labservices/helpdesk/ the page does load. However after entering the user name and password and clicking on the button to log in, the following page is returned:
The page cannot be displayed
The page you are looking for cannot be displayed because the page address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the 10.21.2.105 home page and then look for links to the information you want.
HTTP 405 - Resource not allowed
Internet Information Services
Technical Information (for support personnel)
More information:
Microsoft Support
In contrast, if I put this path into my browser: http://10.21.2.105/labservices/helpdesk/index.php the page still loads, but logging in with the user name and password actually works and allows me access to the application.
To summarize, it seems that I am required to include the filename in the url string in order for the login page to authenticate and allow access t the rest of the application. Why is this. How can I get IIS to load the index.php page so I do not have to include it in the url? Before you give a canned response to this question, consider that I have already added (as explained above)