aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/wikis
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/wikis')
-rw-r--r--deployment/wikis/templates/wiki_vhost.conf15
1 files changed, 8 insertions, 7 deletions
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 @@
<Directory <%= wikis_root %>>
Options +FollowSymLinks
+
+ AuthUserFile /srv/passwd-wiki
+ AuthType Basic
+ AuthName "Mageia wiki"
+ <LIMIT GET POST PUT>
+ require valid-user
+ </LIMIT>
+
</Directory>
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