From 0eee8e42dec259eba7e9ea04acbcf07ba5fb957b Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 13 Feb 2012 23:21:07 +0000 Subject: Make infra_1 accessible on build nodes even if it is not in mirror --- modules/buildsystem/templates/vhost_repository.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/buildsystem/templates/vhost_repository.conf') diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf index a8e9c9e5..f49243e2 100644 --- a/modules/buildsystem/templates/vhost_repository.conf +++ b/modules/buildsystem/templates/vhost_repository.conf @@ -7,6 +7,7 @@ buildsystem_nodes = "2a02:2178:2:7::3/64 2a02:2178:2:7::4/64 2a02:2178:2:7::5/64 ServerName repository.<%= domain %> DocumentRoot <%= mirror_root %> + Alias /distrib/infra_1/ "/distrib/bootstrap/distrib/infra_1/" Alias /mandriva/ "/distrib/mandriva/" Alias /mageiatools/ "/distrib/mageiatools/" > @@ -17,6 +18,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 + + Order deny,allow + Deny from all + Allow from localhost, 127.0.0.1 + Allow from <%= buildsystem_nodes %> + Allow from .<%= domain %> + Options Indexes FollowSymLinks + Order deny,allow Deny from all -- cgit v1.2.1