I need to change one directory on my server to look for index.php file and run it as default. There is also an index.html file in the directory, but I don't want this one to go first.
Is there a way I can do that per directory?
Thanks,
Damion
I need to change one directory on my server to look for index.php file and run it as default. There is also an index.html file in the directory, but I don't want this one to go first.
Is there a way I can do that per directory?
Thanks,
Damion
Create an .htaccess file in that directory and add:
DirectoryIndex index.php index.html
Thanks!Originally posted by darksoul
Create an .htaccess file in that directory and add:
DirectoryIndex index.php index.html