Guide for beginners and administrators | |||
![]() |
|
Category: Main » Linux Questions · Q: 147: How to disable directory browsing on ApacheIf 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)
Or In the desired directory (
Links : Apache Module mod_autoindex, Option Directive. |
|
Copyright © 2000 - 2020 AdminXP.com - R 0.996