View Single Post
Old 11-29-2004, 11:34 PM  
Xtreme Fever
Confirmed User
 
Join Date: Aug 2004
Posts: 234
Quote:
Originally posted by broke
Apache will resolve to the first file type listed in the DirectoryIndex directive. If there is no file with that extention in the directory then it will go to the next.


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


If you had all four in your root directory, everyone would see index.html. If you had the last three, everyone would see index.htm. If you had the last two, everyone would see index.php.

Unless someone linked directly to one of the pages...
what he said
Xtreme Fever is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote