blob: 72b665400c366c25722dd52996562c510190c917 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<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]
<%- for lang in wiki_languages -%>
<Directory <%= wikis_root %>/<%= lang %>/images>
SetHandler default-handler
</Directory>
Alias /<%= lang %> <%= wikis_root %>/<%= lang %>/index.php
Alias /mw-<%= lang %> <%= wikis_root %>/<%= lang %>
<%- end -%>
|