Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 8 of 8

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 ...

  1. #1
    JPC Member
    Join Date
    May 2006
    Posts
    9

    Directory

    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.

  2. #2
    eh?!
    Join Date
    Jan 2005
    Posts
    105
    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

  3. #3
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    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
    -------------------------
    the_ancient
    MP Technology Group

  4. #4
    Friendly rainboy's Avatar
    Join Date
    Apr 2006
    Location
    Eindhoven, The Netherlands
    Posts
    546
    Probably also default.html is added for microsoft frontpage support.

  5. #5
    Friendly rainboy's Avatar
    Join Date
    Apr 2006
    Location
    Eindhoven, The Netherlands
    Posts
    546
    Seems you found the sollution

  6. #6
    JPC Member
    Join Date
    May 2006
    Posts
    9
    Yes, I did. Thanks for your help.

  7. #7
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    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:

    Code:
    DirectoryIndex index.foo index.bar index.monkey apacherocks.html
    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  8. #8
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by jason
    It is also possible to add your own options in .htaccess with a DirectoryIndex directive:

    Code:
    DirectoryIndex index.foo index.bar index.monkey apacherocks.html
    For the sake of discussion, here's what I use:
    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
    Works for me...
    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.

    No Guts, No Story! VinDSL © 2010

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •