/[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 2438 - (show annotations) (download)
Sat Feb 18 18:08:04 2012 UTC (12 years, 2 months ago) by misc
File size: 1593 byte(s)
more legible config file ( but could be improved IMHO )
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 /mandriva/ "/distrib/mandriva/"
12 Alias /mageiatools/ "/distrib/mageiatools/"
13
14 <Directory <%= mirror_root %>>
15 Order deny,allow
16 Deny from all
17 Allow from localhost, 127.0.0.1
18 Allow from <%= buildsystem_nodes %>
19 Allow from .<%= domain %>
20 Options Indexes FollowSymLinks
21 </Directory>
22
23 <Directory /distrib/bootstrap/distrib/infra_1>
24 Header append Cache-Control "public, must-revalidate"
25 Order deny,allow
26 Allow from all
27 Options Indexes FollowSymLinks
28 </Directory>
29
30 <Directory /distrib/mandriva>
31 Order deny,allow
32 Deny from all
33 Allow from localhost, 127.0.0.1
34 Allow from <%= buildsystem_nodes %>
35 Allow from .<%= domain %>
36 Options Indexes FollowSymLinks
37 </Directory>
38
39 <Directory /distrib/mandriva/2010.1-mgaserv/>
40 Order deny,allow
41 Allow from all
42 Options Indexes FollowSymLinks
43 </Directory>
44
45 <Directory /distrib/mageiatools>
46 Order deny,allow
47 Allow from all
48 Options Indexes FollowSymLinks
49 </Directory>
50 </VirtualHost>

  ViewVC Help
Powered by ViewVC 1.1.30