Index.html page not showing, just folder contents? Help!
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
Roo posted this at 00:11 — 22nd October 2007.
She has: 840 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.
Roo
webwiz posted this at 00:31 — 23rd October 2007.
He has: 629 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
--
delete from internet where user_agent="MSIE" and version < 8;
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.