KB / Sign Up / Infrastructure / Software / Apache
From DreamHost
Apache is the open source web server software we use on all our hosting machines. It is by far the most popular, stable, and flexible such software in use on the Internet today.
Here we try and provide some specific info about our particular Apache configuration. If you want to learn more about Apache in general, we recommend apache.org!
Parent Article
What is your DirectoryIndex setting?
The DirectoryIndex command lists all the files Apache should look for (in order) to determine what to display when somebody goes to a URL for a directory. That is, it's the default file name for your web site. Ours is set to:
DirectoryIndex index.html index.shtml index.htm Index.html Index.htm Index.shtml default.htm Default.htm default.html Default.html default.shtml Default.shtml page1.html index.pl index.cgi index.php index.php3 index.phtml home.htm home.html home.shtml index.wml
As long as you name your "index" file any one of those things, it will work!
If you have two files with names from that list, Apache will show the one that shows up first (e.g. index.html will show up, even if you have an index.php file in the same directory).
You can change your own DirectoryIndex setting to be anything you'd like via an .htaccess file too!
What is the standard Directory listing you use in your virtualhost apache configuration file?
For non-cgi domains, it is of the form:
<Directory /home/username/domain.com> AllowOverride AuthConfig FileInfo Indexes Limit Options IncludesNOEXEC Indexes FollowSymLinks </Directory>
For cgi-enabled domains, it is of the form:
<Directory /home/username/domain.com> AllowOverride All AddHandler cgi-script .cgi .pl .py Options Includes Indexes FollowSymLinks ExecCGI </Directory>

