1 |
|
2 |
<VirtualHost rrd.me.uk:80> |
3 |
ServerName rrd.me.uk |
4 |
ServerAlias www.rrd.me.uk gametrust.rrd.me.uk |
5 |
ServerAdmin nicolaw@tfb.net |
6 |
DocumentRoot "/home/nicolaw/webroot/www/rrd.me.uk" |
7 |
|
8 |
ErrorLog logs/rrd.me.uk/error.log |
9 |
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined |
10 |
CustomLog logs/rrd.me.uk/access.log combined |
11 |
|
12 |
RewriteEngine On |
13 |
RewriteCond %{HTTP_HOST} ^gametrust.rrd.me.uk$ |
14 |
RewriteRule ^/?(index.html)?$ http://gametrust.rrd.me.uk/cgi-bin/rrd-browse.cgi?template=by_host.tmpl&LIKE=gametrust [R,L] |
15 |
RewriteRule ^/?(index.html)?$ /cgi-bin/rrd-browse.cgi [R,L] |
16 |
|
17 |
PerlModule ModPerl::Registry |
18 |
Alias /cgi-bin/ /home/nicolaw/webroot/www/rrd.me.uk/cgi-bin/ |
19 |
Alias /rrd/ /home/nicolaw/webroot/www/rrd.me.uk/ |
20 |
|
21 |
<LocationMatch "^/(etc|bin|data)/"> |
22 |
# AllowOverride None |
23 |
Order allow,deny |
24 |
Allow from none |
25 |
Deny from all |
26 |
</LocationMatch> |
27 |
|
28 |
SetEnv RRD_SECRET my_secret_password |
29 |
<Location "/cgi-bin/"> |
30 |
SetHandler perl-script |
31 |
PerlResponseHandler ModPerl::Registry |
32 |
Options +ExecCGI |
33 |
</Location> |
34 |
</VirtualHost> |
35 |
|