PDA

View Full Version : Changing default document


ntreescom00
02-18-2003, 04:17 AM
In ASP the default document is index.html instead of index.asp how do I change this. I tried renameing index.html and that dot work.
Thanks

bruce
02-18-2003, 08:12 AM
I am not quite sure what you mean? Can you elaborate on your question?

>I tried renameing index.html and that dot work.

Do you mean you cannot rename the document? or after you rename it, it doesn't work?

[b]quote:Originally posted by ntreescom00

In ASP the default document is index.html instead of index.asp how do I change this. I tried renameing index.html and that dot work.
Thanks
</blockquote id="quote"></font id="quote">

ntreescom00
02-18-2003, 08:54 AM
Sorry about that spelling.
In ASP the default document is index.html instead of index.asp. How do I change to index.asp. I tried renameing index.html and that did not work.
Thanks

bruce
02-19-2003, 10:20 AM
There are 8 default documents

index.html
index.htm
index.asp
index.aspx
default.htm
default.html
default.asp
default.aspx

default document are check following the above order. If you have multiple of them, the one higher in the list will be served. For example, if you have both index.html and index.asp, index.html will be served.

The rule of thumb is to have just 1 of the above file name per directory.

Hope this helps.
[b]quote:Originally posted by ntreescom00

Sorry about that spelling.
In ASP the default document is index.html instead of index.asp. How do I change to index.asp. I tried renameing index.html and that did not work.
Thanks

</blockquote id="quote"></font id="quote">