Commit ae4e3dc8 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Removed indexes from top-level directories for non-mass-hosted domains

parent 292b1bb8
......@@ -49,6 +49,13 @@ NameVirtualHost <%= ip %>:80
Options +ExecCGI
</Location>
#
# Disable indexes by default on the top-level.
#
<LocationMatch "^/+$">
Options -Indexes
</LocationMatch>
#
# We need to log the virtual hostname the incoming request was
# made against, so that the cron-job in /etc/cron.daily may generate
......
......@@ -73,6 +73,13 @@ NameVirtualHost <%= ip %>:80
Options +ExecCGI
</Location>
#
# Disable indexes by default on the top-level.
#
<LocationMatch "^/+$">
Options -Indexes
</LocationMatch>
#
# We need to log the virtual hostname the incoming request was
# made against, so that the cron-job in /etc/cron.daily may generate
......@@ -125,6 +132,13 @@ NameVirtualHost <%= ip %>:80
<Location /cgi-bin>
Options +ExecCGI
</Location>
#
# Disable indexes by default
#
<LocationMatch "^/+$">
Options -Indexes
</LocationMatch>
#
# We need to log the virtual hostname the incoming request was
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment