/[adm]/puppet/modules/buildsystem/templates/vhost_repository.conf
ViewVC logotype

Contents of /puppet/modules/buildsystem/templates/vhost_repository.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2817 - (show annotations) (download)
Thu Aug 30 12:34:28 2012 UTC (11 years, 7 months ago) by boklm
File size: 1663 byte(s)
add infra_2 repository
1 <%
2 # FIXME: add a reverse lookup for IPv6 adresses
3 # allowed hosts are: valstar, ecosse, jonund
4 buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64"
5 %>
6
7 <VirtualHost *:80>
8 ServerName repository.<%= domain %>
9 DocumentRoot <%= mirror_root %>
10 Alias /distrib/infra_1/ "/distrib/bootstrap/distrib/infra_1/"
11 Alias /distrib/infra_2/ "/distrib/bootstrap/distrib/infra_2/"
12 Alias /mandriva/ "/distrib/mandriva/"
13 Alias /mageiatools/ "/distrib/mageiatools/"
14
15 <Directory <%= mirror_root %>>
16 Order deny,allow
17 Deny from all
18 Allow from localhost, 127.0.0.1
19 Allow from <%= buildsystem_nodes %>
20 Allow from .<%= domain %>
21 Options Indexes FollowSymLinks
22 </Directory>
23
24 <Directory /distrib/bootstrap/distrib/infra_1>
25 Header append Cache-Control "public, must-revalidate"
26 Order deny,allow
27 Allow from all
28 Options Indexes FollowSymLinks
29 </Directory>
30
31 <Directory /distrib/mandriva>
32 Order deny,allow
33 Deny from all
34 Allow from localhost, 127.0.0.1
35 Allow from <%= buildsystem_nodes %>
36 Allow from .<%= domain %>
37 Options Indexes FollowSymLinks
38 </Directory>
39
40 <Directory /distrib/mandriva/2010.1-mgaserv/>
41 Order deny,allow
42 Allow from all
43 Options Indexes FollowSymLinks
44 </Directory>
45
46 <Directory /distrib/mageiatools>
47 Order deny,allow
48 Allow from all
49 Options Indexes FollowSymLinks
50 </Directory>
51 </VirtualHost>

  ViewVC Help
Powered by ViewVC 1.1.30