1 |
<% |
2 |
repository_root = "/distrib/bootstrap" |
3 |
# FIXME: add a reverse lookup for IPv6 adresses |
4 |
# allowed hosts are: valstar, ecosse, jonund |
5 |
buildsystem_nodes = "2a02:2178:2:7::3/64, 2a02:2178:2:7::4/64, 2a02:2178:2:7::5/64" |
6 |
%> |
7 |
|
8 |
<VirtualHost *:80> |
9 |
ServerName repository.<%= domain %> |
10 |
DocumentRoot <%= repository_root %> |
11 |
<Directory <%= repository_root %>> |
12 |
Order deny,allow |
13 |
Deny from all |
14 |
Allow from localhost, 127.0.0.1 |
15 |
Allow from <%= buildsystem_nodes %> |
16 |
Allow from .<%= domain %> |
17 |
Options Indexes FollowSymLinks |
18 |
</Directory> |
19 |
</VirtualHost> |