/[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 656 - (show annotations) (download)
Wed Jan 5 19:09:50 2011 UTC (13 years, 2 months ago) by misc
Original Path: puppet/modules/websites/templates/vhost_donate.conf
File size: 349 byte(s)
- add a module to handle various websites, mainly for storing
them.
- add the redirection of donate, asked by rda on sysadm ml
1 <VirtualHost *:80>
2 ServerName donate.<%= domain %>
3
4 RewriteEngine on
5 RewriteRule ^/(.*)$ http://www.<%= domain %>/$1/donate/ [R=permanent,L]
6 #DocumentRoot /dev/null
7 CustomLog /var/log/httpd/donate_log combined
8 ErrorLog /var/log/httpd/error_donate_log
9
10 <Location />
11 Allow from all
12 </Location>
13
14 </VirtualHost>

  ViewVC Help
Powered by ViewVC 1.1.30