Svenska (Sverige)English (United Kingdom)
Start Webb General Web Does it matter if i name the index file to index.htm or index.html?

Does it matter if i name the index file to index.htm or index.html?

Apache searches for index files in a directory in the following order:

index.html
index.htm
index.php
index.asp
index.shtml
default.asp
index.jsp
index.php3
index.phtml
index.wml
index.wmls

If not index.html is found, it searches for index.htm and so on downwards in the list.

The first found file after this order is then displayed in the web browser. If none of these files are found, an error message is displayed (403 forbidden).