Saturday, August 29, 2015

How To Change the Default Page on Apache Tomcat


Double-click the 'My Computer' icon and navigate to the installation directory of Apache. In the 'conf' directory, double-click the 'httpd.conf' file.
Open httpd.conf with Notepad. Scroll down to the following line in the configuration file.
DirectoryIndex index.html index.jsp index.php
Change the DirectoryIndex line with the custom page. Below is an example of how the file should be configured for a custom default page.
DirectoryIndex myCustomPage.php index.html index.jsp index.php
VPS Hosting

1 comment: