You can use the following in a .htaccess file to change the default document on your PHP based sites:
DirectoryIndex filename.html
This would cause filename.html to be treated as your default page, or default directory page. You can also add additional filenames to it.
DirectoryIndex filename.html index.cgi index.pl default.htm home.php home.html
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

0 Comments
Add new comment