aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/templates/planet_vhosts.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/planet/templates/planet_vhosts.conf')
-rw-r--r--modules/planet/templates/planet_vhosts.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/planet/templates/planet_vhosts.conf b/modules/planet/templates/planet_vhosts.conf
new file mode 100644
index 00000000..b3a07ab9
--- /dev/null
+++ b/modules/planet/templates/planet_vhosts.conf
@@ -0,0 +1,11 @@
+<Directory <%= location %> >
+ Order deny,allow
+ Allow from All
+ AllowOverride All
+ Options FollowSymlinks
+ Options +Indexes
+</Directory>
+# Add a permanent redirection for '/*' as '/en/' for english planet
+<IfModule mod_alias.c>
+ RedirectMatch permanent ^/?$ /en/
+</IfModule>