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.

My server is not resolving any index.php pages

Discussion in 'General Discussion' started by BianchiDude, Sep 8, 2005.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    My server is not resolving any index.php pages
    domain.com/ neverloads
    domain.com/index.php loads immediately

    How can I fix this? index.php should load automatically?
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Make sure that index.php is part of the DirectoryIndex synatx. Your httpd.conf should look like:

    Code:
    <IfModule mod_dir.c>
    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 default.html home.htm
    </IfModule>
     
  3. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Yes, It is.
     
  4. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    anyone? anyone?
     
  5. jogjabox

    jogjabox Member

    Joined:
    Aug 16, 2005
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Have you check your .htaccess ? Maybe u wrote DirectoryIndex which not contain index.php? If so, then just simply delete that line.

    Thanks.
     
Loading...

Share This Page