aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf11
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
index 74ad3a32..50d42b3b 100644
--- a/modules/buildsystem/templates/vhost_repository.conf
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -7,9 +7,10 @@ buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64
<VirtualHost *:80>
ServerName repository.<%= domain %>
DocumentRoot <%= mirror_root %>
- Alias /distrib/infra_1/ "/distrib/bootstrap/distrib/infra_1/"
- Alias /mandriva/ "/distrib/mandriva/"
- Alias /mageiatools/ "/distrib/mageiatools/"
+ Alias /distrib/infra_1/ "/distrib/bootstrap/distrib/infra_1/"
+ Alias /mandriva/ "/distrib/mandriva/"
+ Alias /mageiatools/ "/distrib/mageiatools/"
+
<Directory <%= mirror_root %>>
Order deny,allow
Deny from all
@@ -18,12 +19,14 @@ buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64
Allow from .<%= domain %>
Options Indexes FollowSymLinks
</Directory>
+
<Directory /distrib/bootstrap/distrib/infra_1>
Header append Cache-Control "public, must-revalidate"
Order deny,allow
Allow from all
Options Indexes FollowSymLinks
</Directory>
+
<Directory /distrib/mandriva>
Order deny,allow
Deny from all
@@ -32,11 +35,13 @@ buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64
Allow from .<%= domain %>
Options Indexes FollowSymLinks
</Directory>
+
<Directory /distrib/mandriva/2010.1-mgaserv/>
Order deny,allow
Allow from all
Options Indexes FollowSymLinks
</Directory>
+
<Directory /distrib/mageiatools>
Order deny,allow
Allow from all