- Code: Select all
<IfModule dir_module>
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
home.php home.pl home.cgi home.asp home.shtml home.html home.htm index.py
</IfModule>
but when i go to http://localhost/myDirectory
the default index.php does not activate, rather i get a file list of what is inside the directory and have to click the index.php file
how can i set it so that it defaults to the index file?