diff options
Diffstat (limited to 'apache2/conf.d/local-ikiwiki-multilang.conf')
-rw-r--r-- | apache2/conf.d/local-ikiwiki-multilang.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apache2/conf.d/local-ikiwiki-multilang.conf b/apache2/conf.d/local-ikiwiki-multilang.conf new file mode 100644 index 0000000..6c7b73e --- /dev/null +++ b/apache2/conf.d/local-ikiwiki-multilang.conf @@ -0,0 +1,10 @@ +<Location /> + Options -Indexes +MultiViews + DirectoryIndex index +</Location> +AddLanguage da .da + +AddDefaultCharset UTF-8 + +RewriteEngine On +RewriteRule ^((.*/)?[^\.]+)(\.html|/)$ $1.da.html [R] |