Apache default document

It seems that with the default install that Apache only lists ‘index.html’ as the default document. That seems pretty weird.

Shouldn’t it be ‘index.html index.htm default.html default.htm’?

Many many people don’t use .html (they use .htm) and to get it to work with the current install you have to SSH in and manually edit httpd.conf. For such a common thing, it should be the default.

You can edit httpd.conf OR add a .htaccess file to the root of your site:

DirectoryIndex index.html index.htm index.shtm index.shtml index.php

Or whatever you want.

This is easily done with the File Managaer.

Also are you checking /etc/httpd.conf or the

/etc/httpd/conf.d/ * files

The /etc/httpd.conf file only effects


where the default image you see if you just load your IP in your browser is located.

As the section for virtual hosts is (or should be) commented out in /etc/httpd.conf


Agreed, we’ll update it to be more inclusive for future versions orangechicken.