Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Dec 2003
    Location
    Maryland
    Posts
    98

    Default Addon domains not reading index.htm or .html or any index files

    Well I've never seen this one before, but for some reason, addon domains aren't reading the index files customers upload to them.

    However regular websites are working just fine.

    Happens on any addon domain.

    Anyone have any ideas on what I can check to resolve this issue?

    Thanks,
    Matt

  2. #2
    Member
    Join Date
    May 2006
    Location
    India
    Posts
    18

    Default

    You can check the .htaccess file for DirectoryIndex
    RootSupport.Com - Solutions That Fit On The First Try
    ::::: AIM: linuxengineers ::::: MSN: msn@rootsupport.com :::::
    Twenty Four / Seven Technical Support - Windows & Linux Servers
    *Seven days FREE trial available on selected plans

  3. #3
    Member
    Join Date
    Dec 2003
    Location
    Maryland
    Posts
    98

    Default

    But I shouldn't need to check that it's in the .htaccess file.

    It should automatically pick up on an index file and show it by default when browsing a dir.

    It would be insane to try and keep up with who adds an addon domain and make sure that it's in there. And what if they overwrite it?

    There's got to be a better way.

    Matt

  4. #4
    Member
    Join Date
    Dec 2003
    Location
    Maryland
    Posts
    98

    Default

    /bump

    Anyone have any ideas?

  5. #5
    Member
    Join Date
    May 2004
    Posts
    71

    Default

    I have this problem too, so I'm also wondering if anyone has any ideas that would help us resolve this problem...

    Thanks!

  6. #6
    Member
    Join Date
    May 2004
    Location
    new york
    Posts
    98

    Default

    This has something to do with mod_dir.c I believe

    Seems that they changed the way apache creates the httpd.conf file

    Prior to this it was working and the index settings was done as such

    <IfModule mod_dir.c>
    DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp --- and so on
    </IfModule>

    Now we see only

    DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp --- and so on

    And mod_dir.c is not used at all - I don't see it anywhere in httpd.conf
    UseCanonicalName On was also the default and now it's off??

    Unless there is some other place where this line is added:

    AddModule mod_dir.c

    I think it was a mistake to leave it out of httpd.conf

Similar Threads & Tags
Similar threads

  1. Addon domains not going to index.htm or .html
    By tangozero in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-17-2011, 09:18 AM
  2. 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
  3. Which page do you want to load first index.html or index.htm?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 22
    Last Post: 04-10-2008, 09:36 AM
  4. FrontPage suddenly changing index.htm to index.html
    By myce in forum cPanel and WHM Discussions
    Replies: 27
    Last Post: 10-04-2005, 11:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube