From: Peter Palfrader Date: Wed, 1 Feb 2017 07:27:38 +0000 (+0100) Subject: Disable userdir on a bunch of vhosts X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1d8c0fff258e85baf1513c319c79fbebbf108fcc;p=mirror%2Fdsa-puppet.git Disable userdir on a bunch of vhosts --- diff --git a/modules/roles/templates/apache-cdimage-search.debian.org.conf.erb b/modules/roles/templates/apache-cdimage-search.debian.org.conf.erb index d41efba88..eeafe393b 100644 --- a/modules/roles/templates/apache-cdimage-search.debian.org.conf.erb +++ b/modules/roles/templates/apache-cdimage-search.debian.org.conf.erb @@ -24,6 +24,10 @@ RewriteEngine On RewriteRule ^/$ /cgi-bin/find_file.cgi [PT] + + + UserDir disabled + Use common-debian-service-https-redirect * cdimage-search.debian.org diff --git a/modules/roles/templates/apache-debug.mirrors.debian.org.erb b/modules/roles/templates/apache-debug.mirrors.debian.org.erb index 41431f2a7..bcc57d6bd 100644 --- a/modules/roles/templates/apache-debug.mirrors.debian.org.erb +++ b/modules/roles/templates/apache-debug.mirrors.debian.org.erb @@ -17,5 +17,9 @@ CustomLog /var/log/apache2/debug.mirrors.debian.org-access.log privacy Use ftp-archive /srv/mirrors/debian-debug + + + UserDir disabled + # vim:set syn=apache: diff --git a/modules/roles/templates/apache-ftp.debian.org.erb b/modules/roles/templates/apache-ftp.debian.org.erb index 576eec0fa..f2bbeec9f 100644 --- a/modules/roles/templates/apache-ftp.debian.org.erb +++ b/modules/roles/templates/apache-ftp.debian.org.erb @@ -17,6 +17,10 @@ CustomLog /var/log/apache2/ftp.debian.org-access.log privacy Use ftp-archive <%= archive_root %> + + + UserDir disabled + # vim:set syn=apache: diff --git a/modules/roles/templates/apache-ftp.ports.debian.org.erb b/modules/roles/templates/apache-ftp.ports.debian.org.erb index 778b6ccca..90cbbbab3 100644 --- a/modules/roles/templates/apache-ftp.ports.debian.org.erb +++ b/modules/roles/templates/apache-ftp.ports.debian.org.erb @@ -25,5 +25,9 @@ Options +Indexes Options +FollowSymLinks + + + UserDir disabled + # vim:set syn=apache: