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.

default webpage???

Discussion in 'General Discussion' started by jsox79, Jul 12, 2013.

  1. jsox79

    jsox79 Member

    Joined:
    Jan 1, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    i recently upgraded apache to 2.4.4 and php to 5.4, i didnt like the fact that 5.4 didnt have support for suphp ironed completely out, so i reverted back to 5.3. all of my sites work fine. but any new sites i create dont seem to recognize that php is installed, it blatantly disregards index.php unless i type it in on the address bar mysite.com/index.php

    any ideas as to what might be causing this?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    That means that index.php is not included in Apache's DirectoryIndex directive.

    1st check in WHM-> Service Configuration -> Apache Configuration -> DirectoryIndex Priority

    That is probably ok if all the old sites work.

    Then check .htaccess in those new sites where index.php is not recognized as an index file, if there are DirectoryIndex directives without index.php
     
  3. jsox79

    jsox79 Member

    Joined:
    Jan 1, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    no .htaccess file yet.
    all forms of index.* are included in apaches main directive
     
  4. jsox79

    jsox79 Member

    Joined:
    Jan 1, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    problem solved,
    cleared cache everywhere, i checked in internet explorer and it worked as expected so i knew it had to be some weird cache issue
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Thank you for updating this thread with the outcome. I am happy to hear the issue is now resolved.
     
Loading...

Share This Page