summaryrefslogtreecommitdiffstats
path: root/roles/httpd/templates/vhost_redirect.conf
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-29 23:04:45 +0100
committerMichael Scherer <misc@zarb.org>2014-12-29 23:04:45 +0100
commit8e5e55034dde263e828b390e2f60210441ab2991 (patch)
tree971d4251aa9a2c65fcfc8f64c33ae16204861ea5 /roles/httpd/templates/vhost_redirect.conf
parentce543b7cd386ccc8b60ae8d3e707961ac5d1e0d8 (diff)
Switch to external httpd module
Diffstat (limited to 'roles/httpd/templates/vhost_redirect.conf')
-rw-r--r--roles/httpd/templates/vhost_redirect.conf16
1 files changed, 0 insertions, 16 deletions
diff --git a/roles/httpd/templates/vhost_redirect.conf b/roles/httpd/templates/vhost_redirect.conf
deleted file mode 100644
index 1c93343..0000000
--- a/roles/httpd/templates/vhost_redirect.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-<VirtualHost *:80>
- {% if website_password is defined %}
- <Location />
-
- AuthType Basic
- AuthName "Restricted access, contact OSAS for password"
- AuthUserFile /etc/httpd/{{ website_url }}.htpasswd
- Require valid-user
- </Location>
- {% endif %}
-
- ServerName {{ website_url }}
- Redirect / {{ redirect }}
-</VirtualHost>
-
-