aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/wikis/templates/wiki_vhost.conf
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-25 17:18:39 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-25 17:18:39 +0000
commit6db12a2349bf948ec00d3896f1c67478ea72c4f8 (patch)
tree079ae325c84dc356f489553a14e6ce8368a1d4c5 /deployment/wikis/templates/wiki_vhost.conf
parentb34eb20786524e2a93b5e395805dce643116f677 (diff)
downloadpuppet-6db12a2349bf948ec00d3896f1c67478ea72c4f8.tar
puppet-6db12a2349bf948ec00d3896f1c67478ea72c4f8.tar.gz
puppet-6db12a2349bf948ec00d3896f1c67478ea72c4f8.tar.bz2
puppet-6db12a2349bf948ec00d3896f1c67478ea72c4f8.tar.xz
puppet-6db12a2349bf948ec00d3896f1c67478ea72c4f8.zip
require temporary password for wiki
Diffstat (limited to 'deployment/wikis/templates/wiki_vhost.conf')
-rw-r--r--deployment/wikis/templates/wiki_vhost.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/deployment/wikis/templates/wiki_vhost.conf b/deployment/wikis/templates/wiki_vhost.conf
index 28f59ad3..38e47a44 100644
--- a/deployment/wikis/templates/wiki_vhost.conf
+++ b/deployment/wikis/templates/wiki_vhost.conf
@@ -5,6 +5,13 @@
RewriteEngine On
RewriteRule ^/?$ /en/ [R]
+AuthUserFile /srv/passwd-wiki
+AuthType Basic
+AuthName "Mageia wiki"
+<LIMIT GET POST PUT>
+ require valid-user
+</LIMIT>
+
<%- for lang in wiki_languages -%>
Alias /<%= lang %> <%= wikis_root %>/<%= lang %>/index.php