Jump to letter: [
ABCDEFHKLOPRTUYZ
]
zz_apache_no_browsable_directory - Change the default httpd.conf to disable autoindex
License: |
GPL |
Vendor: |
Fermilab |
- Description:
This modifies the /etc/httpd/conf/httpd.conf file using augeas so that
mod_autoindex does not list your directories out by default.
This will remove 'Indexes' from your 'Options' list for '/var/www/html'
and '/var/www/icons'. It will also remove 'Indexes' from the sample
options list for mod_userdir (~username directories).
For this change to take effect you must restart httpd.
You can still enable this option with a .htaccess file or by editing the config
file yourself.
To return indexes to working state you will need to add:
Options +Indexes
to either your apache config or your .htaccess file
See: http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html
Packages