diff options
Diffstat (limited to 'modules/websites/templates/vhost_donate.conf')
-rw-r--r-- | modules/websites/templates/vhost_donate.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/websites/templates/vhost_donate.conf b/modules/websites/templates/vhost_donate.conf new file mode 100644 index 00000000..c67075d0 --- /dev/null +++ b/modules/websites/templates/vhost_donate.conf @@ -0,0 +1,14 @@ +<VirtualHost *:80> + ServerName donate.<%= 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> |