# Apache default document

**URL:** <https://forums.interworx.com/t/apache-default-document/9862>\
**Category:** Bugs\
**Created:** [July 13, 2005, 12:59pm UTC](https://forums.interworx.com/t/apache-default-document/9862 "2005-07-13T12:59:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [July 13, 2005, 12:59pm UTC](https://forums.interworx.com/t/apache-default-document/9862/1 "2005-07-13T12:59:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [July 13, 2005, 5:33pm UTC](https://forums.interworx.com/t/apache-default-document/9862/2 "2005-07-13T17:33:48Z")

</div>

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

```php
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

```html
/var/www/html/

```

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

Tim

---

<div class="post-metadata">

**Author:** ![IWorx-Chris](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ba8739/32.png) [@IWorx-Chris](https://forums.interworx.com/u/IWorx-Chris)\
**Post date:** [July 14, 2005, 9:36am UTC](https://forums.interworx.com/t/apache-default-document/9862/3 "2005-07-14T09:36:50Z")

</div>

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

Chris
