The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Simple Question

I was wondering how one goes about changing the startup page for a web? Usually the file is called index.html, but I want to start with an index.asp page. Can anyone fill me in? Do I need to contact my server host and have them change it?

Drew

~Drew

There Is No Greater Joy Than Soaring High On The Wings Of Your Dreams, Except Maybe The Joy Of Watching A Dreamer Who Has Nowhere To Land But In The Ocean Of Reality.

Well, I tried that. I deleted the index.htm fil that I had and replaced it with the index.asp file but when I tried to access the site, it gave me errors saying that I had to access to the page. But I know I have asp capablilites since I use them elsewhere in the site. any ideas?

Drew

~Drew

There Is No Greater Joy Than Soaring High On The Wings Of Your Dreams, Except Maybe The Joy Of Watching A Dreamer Who Has Nowhere To Land But In The Ocean Of Reality.

Just because your host supports ASP does not necessarily mean that they've automatically got index.asp allowed as the index page. You might need to ask them to allow it. You would think it would be automatic. My host, even though it supports PHP still has .html as the default page.

Well, first off, I did try an include to start with and it never worked, I am assuming since the file had an .htm extension. So I tried making it an asp file which did run the code then. Of course, I was still having problems with the include, so I just addedthe code to the top. Crude, but effective.

the problem came with then setting the page as my startup page. I tried deleting my other index file, but it said that it couldn't find the startup page. So, I contacted my provider, since I have no direct control over the structure of my server, and had him change the option, so now it works. Thanks guys for your help.

Drew

~Drew

There Is No Greater Joy Than Soaring High On The Wings Of Your Dreams, Except Maybe The Joy Of Watching A Dreamer Who Has Nowhere To Land But In The Ocean Of Reality.