|Guide for beginners and administrators|
Category: Main » Linux
Questions· Q: 147: How to disable directory browsing on Apache
If it is not in a directory on the server found the default file (for example. index.html) may occur according to the server settings different situations. The default and potentially dangerous can display the contents of a directory, which displays links to file inside the directory.
Deactivation for the entire server make by removing the options Options Indexes in the configuration file /etc/apache2/apache2.conf
If you would like opt in only some of directory. Create a new configuration file block that links to the directory (Docs)
In the desired directory (
FAQ (Frequently Asked Questions)