When I type my main domain(CCJMAC.com) I keep going to the Directory. I want my website page to show up, but I dont know how to.
This is a discussion on Directory in the Shared & Semi-Dedicated forum
When I type my main domain(CCJMAC.com) I keep going to the Directory. I want my website page to show up, but I dont know how ...
When I type my main domain(CCJMAC.com) I keep going to the Directory. I want my website page to show up, but I dont know how to.
openhimer
It doesn't look like you have a file in your root directory named index.htm or index.html - the sort of file that Apache recognizes as your "port of entry".
There is also an odd name for a folder "index.htm /", which suggests you made an error naming your home page file. There shouldn't be a folder with that name. There should be a file "index.htm" (without quotes of course).
Hope this helps.
Don
index.php can also be used. and probally a couple of outdated ext that are nort realy used anymore, like .php3![]()
the order of processing is (i think)
index.html
index.htm
index.php
meaning if both a index.php and a index.html exsist in that dir, the index.html will show automatically where as the index.php will not
Probably also default.html is added for microsoft frontpage support.
Seems you found the sollution![]()
Yes, I did. Thanks for your help.![]()
There is actually quite a long list of possible "index" page names. Its been posted here before, albeit a long time ago (so the list could be outdated, if it was even worth trying to find). I just about any common extension after "index" will work (such as index.cgi or index.pl), plus home.html and default.htm and a few others.
It is also possible to add your own options in .htaccess with a DirectoryIndex directive:
--JasonCode:DirectoryIndex index.foo index.bar index.monkey apacherocks.html
For the sake of discussion, here's what I use:Originally Posted by jason
Works for me...Code:# Force Apache to look for these index files, in this order. DirectoryIndex index.php index.html index.htm index.cgi index.pl index.xhtml![]()
Last edited by Vin DSL; 05-21-2006 at 08:25 PM.
DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.
Copyright © 2011 JaguarPC.com
Bookmarks