aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-06 00:05:31 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-06 00:05:31 +0000
commita7df0a4bc603cd4bd11f219dbf2c249e45d4cacd (patch)
treed3b2a6a48e90c93cf14f16a2552499c8f5272faa /modules
parent9363ba5117a1a184c6d29f719349c2fe6c5e30bc (diff)
downloadpuppet-a7df0a4bc603cd4bd11f219dbf2c249e45d4cacd.tar
puppet-a7df0a4bc603cd4bd11f219dbf2c249e45d4cacd.tar.gz
puppet-a7df0a4bc603cd4bd11f219dbf2c249e45d4cacd.tar.bz2
puppet-a7df0a4bc603cd4bd11f219dbf2c249e45d4cacd.tar.xz
puppet-a7df0a4bc603cd4bd11f219dbf2c249e45d4cacd.zip
add special case to redirect http://donate.mageia.org/ to en version
Diffstat (limited to 'modules')
-rw-r--r--modules/websites/templates/vhost_donate.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/websites/templates/vhost_donate.conf b/modules/websites/templates/vhost_donate.conf
index 7a9bf798..c2f5c551 100644
--- a/modules/websites/templates/vhost_donate.conf
+++ b/modules/websites/templates/vhost_donate.conf
@@ -3,6 +3,7 @@
ServerAlias donation.<%= domain %>
RewriteEngine on
+ RewriteRule ^/?$ http://www.<%= domain %>/en/donate/ [R=permanent,L]
RewriteRule ^/(.*)$ http://www.<%= domain %>/$1/donate/ [R=permanent,L]
#DocumentRoot /dev/null
CustomLog /var/log/httpd/donate_log combined