|
| |
|
|
bobby
Posts: 11399 Joined: 8/15/1969 From: Seattle WA USA Status: offline
|
index / default ? - 5/2/2003 0:29:19
Howdy all... When I go to " localhost" in IIS 5 I' m taken to C:/Inetpub/wwwroot/default.asp But if I try to go to any webs within that folder... like C:/Inetpub/wwwroot/website/ I get an error that says the contents can' t be listed... Is this because I don' t have index.asp set up as a default start page for a web? Just curious... I' m playing [:p] I' m wondering how to make it so that if I click to the web folder in IE I see the index.asp page... Otherwise I have to physically type /index.asp to get to the home page of the web... Thanks! (If anyone is curious, I' m playing with the " localhost" start page... setting it up to automatically list and link to my development webs, as well as Internet sites. The plan is to make it the start page every time I open a browser... The problem I' m running into is that some of my home pages are index.htm, some are index.asp, one is default.asp... I can program the page to check and see if any of those exist and link to them if they do, but it would be a lot easier to just point to the web folder and click to it...)
_____________________________
In order to remove a wall you must first remove the Windows®
|
|
|
|
mbmunday
Posts: 162 Joined: 8/8/2002 From: North Richland Hills, Texas Status: offline
|
RE: index / default ? - 5/2/2003 3:40:46
If I' m correct the server has to be told which file names can be used as the " default" or " home" page for a directory. Most also have an " order of precedence." For example, if you have both an index.html file and a default.html file, the index.html file will be the one that shows up when viewing your site with the domain name or IP address. I came across the same problem as you. The server only accepted default.htm, so our IS dept. had to tell it to accept index.asp, index.htm, etc. As for how to configure it, I don' t know how. I' m sorry. You probably already knew what I told you so I probably just wasted your time. [:p] MB
|
|
|
|
storm
Posts: 421 Status: offline
|
RE: index / default ? - 5/2/2003 6:35:49
You can have your start page for a website whatever you like. But in order to be bale to not have to type it in you would: (This example is for the site but will work fro folders as well) In IIS, right click the site > properties Documents tab Add button type in the name of the start page (index. htm, default.html, howdy.asp, I think you get it.) then OK your way out. you' ll notice you can also adjust the search precedence and remove what you don' t use.
_____________________________
storm..." Someone put forth the proposition that you can petition the lord with prayer, petition the lord with prayer, petition the lord with prayer...YOU CANNOT PETITION THE LORD WITH PRAYER"
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|