Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member bennet's Avatar
    Join Date
    Apr 2002
    Location
    Brazil
    Posts
    68

    Default index.php x default.php

    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?
    Wilton Bennet
    ..........................................

    BenNetworks, IPP
    Internet Presense Provider

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

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

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    113

    Default

    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. #4
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    [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.
    Beau Henderson

  5. #5
    Member bennet's Avatar
    Join Date
    Apr 2002
    Location
    Brazil
    Posts
    68

    Default it worked!!

    IN .htaccess file it worked perfectly.

    Thank you.

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

    BenNetworks, IPP
    Internet Presense Provider

Similar Threads & Tags
Similar threads

  1. Index.php not recognized as index file in addon domains
    By hubrik in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-16-2008, 10:57 AM
  2. want to switch hom page from index.html to index.php
    By websoftbiz in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-12-2008, 07:14 PM
  3. index.php not picked up as default page
    By charlieperry in forum New User Questions
    Replies: 5
    Last Post: 12-15-2007, 12:42 PM
  4. New VPS site loading but clicking php link just redirect to index.php
    By ozegreatdeals in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-20-2006, 06:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube