..
When you specify a URL of a folder and have not set a default page using the DirectoryIndex directive (see this FAQ ) web-server Apache returns, by default, the list of files in that folder.
To prevent this from happening is enough to specify and load a default file (eg "index.html") or use the Options directive-Indexes. For example:
<Directory "/percorso/sito/web/"> Options-Indexes </ Directory>
| |
Linux (Course)
Complete guide to open-source system. From 49 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |