The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Index Manager?

Discussion in 'General Discussion' started by interfx, Jan 1, 2007.

  1. interfx

    interfx Member

    Joined:
    Mar 29, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to set the default index.htm of my client website to always bring up index.htm first, then index.html secondly...

    I went to the Index Manager in CPANEL, but do not see where to set this??? Any suggestiosn, hints out there?

    Thanks -
    InterFX
     
  2. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    You need to open your httpd.conf file and find:
    Code:
    <IfModule mod_dir.c>
    Then you should see something like:
    Code:
    DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm
    Just adjust the order in that to adjust what comes before what, when you're done adjusting it, save it, and restart apache.
     
  3. interfx

    interfx Member

    Joined:
    Mar 29, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Sorry, forgot to mention that I am on a shared server, and do not have access to this file...

    Any other ways to do this?
     
  4. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Just don't use multiple index files...

    One index.ext is all you need.
     
Loading...

Share This Page