Tuesday, July 22, 2003

Note to self: How to set the default file in Apache.

Go to the desired www directory (can be a subdirectory) where you wish to set the default file.

Create a file, .htaccess, with the following line:
DirectoryIndex blog.php index.html

The apache web server will try to find each file in order.

No comments: