Forum Moderators: open

Message Too Old, No Replies

New Guy ASP Question

index.aspx

         

madcat

1:19 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm sure quite easy.

If index.aspx is in my root folder (named 'NEW'), and I go to [thesiteexample.com...] - of course it won't recognize a page like index.html.

Why? What can I do besides a redirect to make it recognize index.aspx. I get a Directory Listing Denied message...

"This Virtual Directgory does not allow contents to be listed"

Thanks for your help.

mattglet

1:43 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In IIS, right click your website and choose Properties.

In the Documents tab, make sure "Enable Default Document" is checked, and add any new page names you would like to assign as a default page.

madcat

1:47 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Cool, thank you...

I don't have control of the server, is there a way I could do it on my end? If not, I'll just get with them...

mattglet

1:48 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Best practice would be to ask your hosting provider. Doing redirects would be sloppy and a pain to maintain.

Gernwax

2:25 pm on Jun 14, 2005 (gmt 0)

10+ Year Member



Have you tried renaming the file to default.aspx?