diff options
Diffstat (limited to 'deployment/wikis/templates/wiki_vhost.conf')
-rw-r--r-- | deployment/wikis/templates/wiki_vhost.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deployment/wikis/templates/wiki_vhost.conf b/deployment/wikis/templates/wiki_vhost.conf new file mode 100644 index 00000000..28f59ad3 --- /dev/null +++ b/deployment/wikis/templates/wiki_vhost.conf @@ -0,0 +1,14 @@ +<Directory <%= wikis_root %>> + Options +FollowSymLinks +</Directory> + +RewriteEngine On +RewriteRule ^/?$ /en/ [R] + +<%- for lang in wiki_languages -%> + +Alias /<%= lang %> <%= wikis_root %>/<%= lang %>/index.php +Alias /mw-<%= lang %> <%= wikis_root %>/<%= lang %> + +<%- end -%> + |