Differences between revisions 1 and 2
Revision 1 as of 2015-08-23 14:37:00
Size: 1057
Editor: wilhelms
Revision 2 as of 2015-08-23 14:37:53
Size: 1070
Editor: wilhelms
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
CategoryHtmlProgramming CategoryHtmlProgramming CategoryJava


The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the directory name.

The default DirectoryIndex looks like this and will search for pages in this order in your DocumentRoot.

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm

If you want to use a override this you can set this in your .htacess file. The below entry would set newindex.html as the first page it would match

DirectoryIndex newindex.html index.html index.cgi index.pl index.php index.xhtml index.htm


  • Tomcat uses a welcome-file-list found in $TOMCAT_HOME/conf/web.xml. You can modify this to suite your needs. Below is the default values.


CategoryHtmlProgramming CategoryJava

HtmlProgramming/how-do-i-get-my-html-page-to-load-automatically (last edited 2015-08-23 14:37:53 by wilhelms)