From a7df0a4bc603cd4bd11f219dbf2c249e45d4cacd Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 6 Jan 2011 00:05:31 +0000 Subject: add special case to redirect http://donate.mageia.org/ to en version --- modules/websites/templates/vhost_donate.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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 -- cgit v1.2.1