How do I set a my own default index file when browsing to a directory? Εκτύπωση

  • 40

To do this, create a file called ".htaccess" in the directory with the following contents:
DirectoryIndex myindex.html index.html index.htm index.php
Where myindex.html is the name of the file that you want to serve as the default index page for the directory.

Ήταν χρήσιμη αυτήν την απάντηση;

« Πίσω