Apache is a website hosting solution mostly used on
- Step 1
Double-click the "My Computer" icon and navigate to the installation directory of Apache. In the "conf" directory, double-click the "httpd.conf" file.
- Step 2
Open httpd.conf with Notepad. Scroll down to the following line in the configuration file.
DirectoryIndex index.html index.jsp index.php - Step 3
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
No comments:
Post a Comment