-Fermi Onsite Packages

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

zz_apache_no_browsable_directory-1.0-4.noarch [10 KiB] Changelog by Pat Riehecky (2013-01-17):
- Comment addition is now in its own block so that failure
   to leave a comment doesn't prevent the config changes
   from happening.

Listing created by Repoview-0.6.4