summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJames Vasile <james@hackervisions.org>2011-12-19 09:04:29 -0500
committerJames Vasile <james@jamesvasile.com>2012-02-19 15:07:15 -0500
commit5ed705e87535d0603ae0b13388f2c231ab29a127 (patch)
tree2cd42fe88a8e779e2fcaf6a2b557c2a8edebfb10 /share
parentece0f1d1c5b1134bff5a24fc9576748aa30b1aaf (diff)
redirect / and /plinth to /plinth/
Diffstat (limited to 'share')
-rw-r--r--share/apache2/plinth.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/apache2/plinth.conf b/share/apache2/plinth.conf
index c25e398..7046b10 100644
--- a/share/apache2/plinth.conf
+++ b/share/apache2/plinth.conf
@@ -1 +1,11 @@
ProxyPass /plinth/ http://localhost:8000/
+
+<Directory />
+Options Indexes FollowSymLinks
+
+RewriteEngine on
+RewriteRule [^/]*/plinth$ plinth/ [R]
+RewriteRule [^/]*/$ plinth/ [R]
+#RewriteRule ^$ plinth/ [R]
+
+</Directory>