/[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 2824 - (show annotations) (download)
Sat Sep 1 17:32:46 2012 UTC (11 years, 7 months ago) by tmb
File size: 1898 byte(s)
add vhost directory config for infra_2
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/bootstrap/distrib/infra_2>
32 Header append Cache-Control "public, must-revalidate"
33 Order deny,allow
34 Allow from all
35 Options Indexes FollowSymLinks
36 </Directory>
37
38 <Directory /distrib/mandriva>
39 Order deny,allow
40 Deny from all
41 Allow from localhost, 127.0.0.1
42 Allow from <%= buildsystem_nodes %>
43 Allow from .<%= domain %>
44 Options Indexes FollowSymLinks
45 </Directory>
46
47 <Directory /distrib/mandriva/2010.1-mgaserv/>
48 Order deny,allow
49 Allow from all
50 Options Indexes FollowSymLinks
51 </Directory>
52
53 <Directory /distrib/mageiatools>
54 Order deny,allow
55 Allow from all
56 Options Indexes FollowSymLinks
57 </Directory>
58 </VirtualHost>

  ViewVC Help
Powered by ViewVC 1.1.30