aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-07-27 16:44:57 +0000
committerDamien Lallement <dams@mageia.org>2011-07-27 16:44:57 +0000
commitb622c3394ad981d3dcc5f151dde8214c5649834b (patch)
treec79417bc3ac0715583742b334ad14d5c1bbfbce3
parentd09c70a202fc93ccdefd3409a211f9a628a6ba79 (diff)
downloadpuppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar
puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar.gz
puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar.bz2
puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar.xz
puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.zip
redirect / on /en/
-rw-r--r--modules/planet/templates/planet_vhosts.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/planet/templates/planet_vhosts.conf b/modules/planet/templates/planet_vhosts.conf
index ecf0c639..5a59e1ed 100644
--- a/modules/planet/templates/planet_vhosts.conf
+++ b/modules/planet/templates/planet_vhosts.conf
@@ -5,3 +5,7 @@
Options FollowSymlinks
Options +Indexes
</Directory>
+# Add a permanent redirection for '/*' as '/en/' for english planet
+<IfModule mod_alias.c>
+ RedirectMatch permanent ^/?$ /en/
+</IfModule>