Jump to letter: [
CFKLMPSTXY
]
fermilab-conf_apache-no-browsable-directory - Change the default httpd.conf to disable autoindex
License: |
GPL |
Vendor: |
Scientific Linux |
- Description:
This modifies the /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/userdir.conf
files 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.4/mod/mod_autoindex.html
Requirement from: CS-doc-4807
Packages