Please check DirectoryIndex, line 364 of apache/conf/httpd.conf
and DocumentRoot, line 312.
- Code: Select all
DirectoryIndex index.html index.htm index.php index.php4 index.php3 index.cgi index.pl index.html.var index.phtml
DocumentRoot "/xampp/htdocs/home"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/xampp/htdocs/home">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi .pl
AllowOverride All
Order allow,deny
Allow from all
</Directory>
1.Priority of DirectoryIndex is given from left to right.
2. Index.php or index.html must be in your DocumentRoot. In case of above, it should be in "/xampp/htdocs/home" folder.
Please let me know if you solve it.