Accessing default page with Apache2

Discussion in 'Server Operation' started by Sp4ceDust, Sep 29, 2007.

  1. Sp4ceDust

    Sp4ceDust New Member


    I'm pretty new to all this stuff. Had a functional website setup with all the default Apache2 settings last night. I've successfully redirected the default site directory and solved some problems regarding permissions, but the page no longer automatically loads Index.html, but rather displays a list. You can see this at...

    I'm sure its an easy fix, but I've searched around to no avail. and my brain hurts =\.

    Thanks in advance!

  2. chuckl

    chuckl New Member

    Are you perhaps missing a DirctoryIndex declaration in the Apache config for the site?

    DirectoryIndex index.html index.htm Default.htm default.htm
  3. Sp4ceDust

    Sp4ceDust New Member

    Entirely possible! Where would that config file be located?
  4. chuckl

    chuckl New Member

    Wherever the config info is for the website you have set up that you were describing. i.e. in the Apache config files - /etc/apache2/apache2.conf or httpd.conf.

    There will be a series of entries for grouped together, and one should be similar to the line I mentioned.
  5. Sp4ceDust

    Sp4ceDust New Member

    There was no declaration for DirectoryIndex in the file you specified, adding one solved the problem! Does changing the directory for the site remove that declaration from the conf. file?

    Anyhoo, MANY thanks for the advice/solution! :)
  6. falko

    falko Super Moderator ISPConfig Developer

    Not if you modify your Apache configuration manually. But maybe you use some kind of control panel that does this?

Share This Page