/[adm]/puppet/deployment/websites/templates/vhost_donate.conf
ViewVC logotype

Contents of /puppet/deployment/websites/templates/vhost_donate.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 667 - (show annotations) (download)
Thu Jan 6 00:05:31 2011 UTC (13 years, 2 months ago) by boklm
Original Path: puppet/modules/websites/templates/vhost_donate.conf
File size: 461 byte(s)
add special case to redirect http://donate.mageia.org/ to en version
1 <VirtualHost *:80>
2 ServerName donate.<%= domain %>
3 ServerAlias donation.<%= domain %>
4
5 RewriteEngine on
6 RewriteRule ^/?$ http://www.<%= domain %>/en/donate/ [R=permanent,L]
7 RewriteRule ^/(.*)$ http://www.<%= domain %>/$1/donate/ [R=permanent,L]
8 #DocumentRoot /dev/null
9 CustomLog /var/log/httpd/donate_log combined
10 ErrorLog /var/log/httpd/error_donate_log
11
12 <Location />
13 Allow from all
14 </Location>
15
16 </VirtualHost>

  ViewVC Help
Powered by ViewVC 1.1.30