diff options
author | Damien Lallement <dams@mageia.org> | 2011-07-27 16:44:57 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-07-27 16:44:57 +0000 |
commit | b622c3394ad981d3dcc5f151dde8214c5649834b (patch) | |
tree | c79417bc3ac0715583742b334ad14d5c1bbfbce3 /modules/planet | |
parent | d09c70a202fc93ccdefd3409a211f9a628a6ba79 (diff) | |
download | puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar.gz puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar.bz2 puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.tar.xz puppet-b622c3394ad981d3dcc5f151dde8214c5649834b.zip |
redirect / on /en/
Diffstat (limited to 'modules/planet')
-rw-r--r-- | modules/planet/templates/planet_vhosts.conf | 4 |
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> |