From 7e4f1553660bcd9dac2df36a6fdc12e78703c775 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 25 Oct 2011 17:26:58 +0000 Subject: fix authentication --- deployment/wikis/templates/wiki_vhost.conf | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'deployment/wikis') diff --git a/deployment/wikis/templates/wiki_vhost.conf b/deployment/wikis/templates/wiki_vhost.conf index 38e47a44..d8618873 100644 --- a/deployment/wikis/templates/wiki_vhost.conf +++ b/deployment/wikis/templates/wiki_vhost.conf @@ -1,17 +1,18 @@ > Options +FollowSymLinks + + AuthUserFile /srv/passwd-wiki + AuthType Basic + AuthName "Mageia wiki" + + require valid-user + + RewriteEngine On RewriteRule ^/?$ /en/ [R] -AuthUserFile /srv/passwd-wiki -AuthType Basic -AuthName "Mageia wiki" - - require valid-user - - <%- for lang in wiki_languages -%> Alias /<%= lang %> <%= wikis_root %>/<%= lang %>/index.php -- cgit v1.2.1