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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 667 - (hide 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 misc 656 <VirtualHost *:80>
2     ServerName donate.<%= domain %>
3 misc 666 ServerAlias donation.<%= domain %>
4 misc 656
5     RewriteEngine on
6 boklm 667 RewriteRule ^/?$ http://www.<%= domain %>/en/donate/ [R=permanent,L]
7 misc 656 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