Thursday, February 16, 2012

Apache configuration-default index page

You may wander which file to display in your Apache server when people
click your website

It depends on how you configure your Apache server. In your httpd.conf, you need to add
       <IfModule dir_module>
               DirectoryIndex index.php  index.html
The Apache web server will first look for index.php file first and then index.html as the
order above when people click   your website such as

No comments:

Post a Comment