aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-01-09 11:15:15 +0000
committerMichael Scherer <misc@mageia.org>2011-01-09 11:15:15 +0000
commit9cd1b1d64013e982370d18ab5daeae0501c4dc3a (patch)
treee48f9c8a41be64a5770bd7ac94fe443f4ae05ff7 /deployment/websites/templates
parent12e4ffac877d70561885d4b02f33544a9b00906f (diff)
downloadpuppet-9cd1b1d64013e982370d18ab5daeae0501c4dc3a.tar
puppet-9cd1b1d64013e982370d18ab5daeae0501c4dc3a.tar.gz
puppet-9cd1b1d64013e982370d18ab5daeae0501c4dc3a.tar.bz2
puppet-9cd1b1d64013e982370d18ab5daeae0501c4dc3a.tar.xz
puppet-9cd1b1d64013e982370d18ab5daeae0501c4dc3a.zip
move websites module to deployment
Diffstat (limited to 'deployment/websites/templates')
-rw-r--r--deployment/websites/templates/vhost_donate.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/deployment/websites/templates/vhost_donate.conf b/deployment/websites/templates/vhost_donate.conf
new file mode 100644
index 00000000..c2f5c551
--- /dev/null
+++ b/deployment/websites/templates/vhost_donate.conf
@@ -0,0 +1,16 @@
+<VirtualHost *:80>
+ ServerName donate.<%= domain %>
+ 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
+ ErrorLog /var/log/httpd/error_donate_log
+
+ <Location />
+ Allow from all
+ </Location>
+
+</VirtualHost>