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.php x default.php

Discussion in 'General Discussion' started by bennet, May 5, 2002.

  1. bennet

    bennet Well-Known Member

    Joined:
    Apr 25, 2002
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    CPanel, doesn't support index.php or default.php? Why? Which the solution?
    My supplier said that cpanel doesn't open with index.php/default.php. That is possible?
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    You would either need to edit the httpd.conf file or create a .htaccess file with the following:

    DirectoryIndex default.php

    Its not Cpanel that doesn't support this, its apache's settings.
     
  3. gordita

    gordita Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    The httpd.conf file is located in /usr/local/apache/conf

    You might want to be concered if your supplier doesn't understand the basics of web server functionality, they should've been able to tell you how to fix this :(
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    [quote:1d72e702e2][i:1d72e702e2]Originally posted by gordita[/i:1d72e702e2]

    The httpd.conf file is located in /usr/local/apache/conf

    You might want to be concered if your supplier doesn't understand the basics of web server functionality, they should've been able to tell you how to fix this :(

    [/quote:1d72e702e2]

    Perhaps it is an unmanaged server? In which case it would be the customers responsibility to know or find out these things on his or her own. At least thats what I got out of it.
     
  5. bennet

    bennet Well-Known Member

    Joined:
    Apr 25, 2002
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    it worked!!

    IN .htaccess file it worked perfectly.

    Thank you.

    I includes in the file, this:
    DirectoryIndex default.php
     
Loading...

Share This Page