aboutsummaryrefslogtreecommitdiffstats
path: root/modules/websites/templates/vhost_donate.conf
blob: c2f5c551118cfdc08fa2fafb33f11c8e59f9767e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>