25 Nov 2009

Change your default directory page

htaccess 371 Comments

This is a command which allows you to specify a file that is to be loaded as your default page whenever a directory or url request is received

DirectoryIndex filename.html

This would cause filename.html to be treated as your default page, or default directory page.

You can also append other filenames to imply an order of preferance.

DirectoryIndex filename.html index.cgi index.pl default.htm

Comments are closed.