aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/templates/vhost_bcd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bcd/templates/vhost_bcd.conf')
-rw-r--r--modules/bcd/templates/vhost_bcd.conf14
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/bcd/templates/vhost_bcd.conf b/modules/bcd/templates/vhost_bcd.conf
index 93d5c00c..320e783a 100644
--- a/modules/bcd/templates/vhost_bcd.conf
+++ b/modules/bcd/templates/vhost_bcd.conf
@@ -1,5 +1,11 @@
-<Directory <%= bcd_home %>/public_html>
- AllowOverride All
- Options FollowSymlinks
- Options Indexes
+<Directory <%= location %>>
+ AuthUserFile <%= bcd_home %>/htpasswd
+ AuthGroupFile /dev/null
+ AuthName "QA test isos, restricted access"
+ ErrorDocument 403 "For the password, please contact the QA team ( http://wiki.mageia.org/en/QA_Team )"
+
+ AuthType Basic
+ require valid-userOptions FollowSymlinks
+
+ Options Indexes
</Directory>