diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-25 17:18:39 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-25 17:18:39 +0000 |
commit | 6db12a2349bf948ec00d3896f1c67478ea72c4f8 (patch) | |
tree | 079ae325c84dc356f489553a14e6ce8368a1d4c5 /deployment/wikis | |
parent | b34eb20786524e2a93b5e395805dce643116f677 (diff) | |
download | puppet-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')
-rw-r--r-- | deployment/wikis/templates/wiki_vhost.conf | 7 |
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 |