justuptime.com - monitor your servers & websites

Index.html page not showing, just folder contents? Help!

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 96 posts

Joined: Jul 2005

This is an odd situation.
I created a newslettter for a new site we are launching soon. However if I go to the address without typing index.html (you shouldn't have to) you get the folder contents instead?

Go to http://www.halifaxdining.ca/newsletter/
You will see the contents.
but go to http://www.halifaxdining.ca/newsletter/index.html and it works.

Any suggestions? Thanks

Alex - Concept Artist / Art Director / Partner
All sites I did at ihearyadevelopments.com/clients.html

Roo's picture
Developer

She has: 830 posts

Joined: Apr 1999

Go in the the control panel and if you have something called 'Index Manager' turn *off* the index for that directory.

It is strange because normally you would only see this if the directory didn't have and index.html file.

If you don't have the ability to turn the index off contact your host.

He has: 301 posts

Joined: May 2007

You may also be able to create a file called ".htaccess" (note the dot at the start of the name) and put this file in the "newsletter" folder with this line in it:

DirectoryIndex index.html

You can make a list of alternate names for index files, too. viz:

DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm

Note that hosts can vary the names used for index files. You could also try renaming the file as "index.htm" or "default.htm" - but better to ask your hosting company.

Cordially, David
--
"Old web developers don't die, they degrade gracefully..."