aboutsummaryrefslogtreecommitdiffstats
path: root/modules/websites/templates/vhost_donate.conf
blob: 7a9bf7983ddaf8fcfe4982102123cc9dc3522fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<VirtualHost *:80>
    ServerName donate.<%= domain %>
    ServerAlias donation.<%= domain %>

    RewriteEngine on
    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>