Quick Website Question

Narcolepsy

Newbie
Joined
Sep 13, 2003
Messages
1,715
Reaction score
0
I'm making a website, the homepage of which is represented by the file index.htm. I want users to be able to simply type in the directory into the address bar, and to then be transferred to my index page.

For example, typing in "www.mywebsite.com/section/" would lead the user to "www.mywebsite.com/section/index.htm."

As it is right now, typing in "www.mywebsite.com/section/" leads only to an error saying that directory contents can't be listed. How then, do you tell the browser to transfer the user to the index page?

Thanks for bearing with me through my confused HTML illiterate ramblings.
 
You'd have to set it up in the server's settings...
There should be a place to set the name of the index file
Usually index.htm is default though :-/
 
Apparently this sever doesn't have this setting. Is there a text file you can add to the directory to refer the browser to the page of your choice? Any scripting that would accomplish this?
 
Or try naming the file index.html rather than .htm

Sometimes server admins are just realy picky :)
 
Back
Top