summaryrefslogtreecommitdiff
path: root/apache2/conf.d
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-09-30 02:53:14 +0000
committerJonas Smedegaard <dr@jones.dk>2007-09-30 02:53:14 +0000
commite70c7a01b4e3879da577c85ce5b0227d32abf890 (patch)
tree85bf03708c11df33236e42d74f000bfaff896da9 /apache2/conf.d
parent3d3d7c6263a674680e3f3a14822ca9667a913b24 (diff)
Local ikiwiki config snippet.
Diffstat (limited to 'apache2/conf.d')
-rw-r--r--apache2/conf.d/local-ikiwiki.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/apache2/conf.d/local-ikiwiki.conf b/apache2/conf.d/local-ikiwiki.conf
new file mode 100644
index 0000000..6c7b73e
--- /dev/null
+++ b/apache2/conf.d/local-ikiwiki.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]