diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-26 16:51:24 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-26 16:51:24 +0000 |
commit | 1f10d4f1371b0e1994488c19da4817bcf5c8dfc6 (patch) | |
tree | c30f1ec259f1e950f094ca7669094bac0a5c039f /deployment/wikis | |
parent | 077c66fcba04b308ec79e6a9b6d00429e5999405 (diff) | |
download | puppet-1f10d4f1371b0e1994488c19da4817bcf5c8dfc6.tar puppet-1f10d4f1371b0e1994488c19da4817bcf5c8dfc6.tar.gz puppet-1f10d4f1371b0e1994488c19da4817bcf5c8dfc6.tar.bz2 puppet-1f10d4f1371b0e1994488c19da4817bcf5c8dfc6.tar.xz puppet-1f10d4f1371b0e1994488c19da4817bcf5c8dfc6.zip |
set default handler for images directory
Diffstat (limited to 'deployment/wikis')
-rw-r--r-- | deployment/wikis/templates/wiki_vhost.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deployment/wikis/templates/wiki_vhost.conf b/deployment/wikis/templates/wiki_vhost.conf index d8618873..72b66540 100644 --- a/deployment/wikis/templates/wiki_vhost.conf +++ b/deployment/wikis/templates/wiki_vhost.conf @@ -15,6 +15,10 @@ 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 %> |