diff options
-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 |