i have several development sites on my wix xp laptop (all classic asp). Doe anyone know why i need to type localhost/site/default.asp (i keep getting a 405 error on iis 5.1) and not just localhost/site thanks
Sounds like you need to configure your default document type in IIS to be default.asp.
You need to add "Default.asp" as a default document. From this page ...
With iis 4.0 and iis 5.0 the change is performed as follows:
- Start the Internet Service Manager (Start - Programs - Administrative Tools - Internet Services Manager).
- Expand the computer and select the web site.
- Right click on it and select Properties.
- Select the documents tab.
- Check the Enable default document box and click Add to add a new default name. The order of the search can be changed by clicking the up and down arrows.
- Click Apply and then OK.
Per comment ... okay, check your script map settings, per this article.
First off we need to clear up the web site thing. You only have one web site, the default web site. (It is possible to munge the metabase on XP to create multiple web sites but IIS 5.1 will only serve one of them, the others will have to be stopped).
You have multiple applications which are virtual directories under a common default website.
Have you checked that Default.asp is in the list of default documents for the application not the website? In IIS manager open properties dialog on each applications virtual directory and check the config there.
If you have then you've got a strange one on your hands. At this point I would always advise checking permissions. Does the application allow anonymous access, if so does the anonymous user have access to the folder and files?
This might seem strange advice since accessing the default.asp directly works but in my experience when the configuration looks good and should work but isn't 90% of the time its the result of permissions not correctly set up.