diff options
Diffstat (limited to 'modules/buildsystem/templates/vhost_repository.conf')
-rw-r--r-- | modules/buildsystem/templates/vhost_repository.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf index 51f3a152..6ea2703b 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 <VirtualHost *:80> ServerName repository.<%= domain %> DocumentRoot <%= repository_root %> + Alias /mandriva/ "/distrib/mandriva/" <Directory <%= repository_root %>> Order deny,allow Deny from all @@ -15,4 +16,12 @@ 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> + Order deny,allow + Deny from all + Allow from localhost, 127.0.0.1 + Allow from <%= buildsystem_nodes %> + Allow from .<%= domain %> + Options Indexes FollowSymLinks + </Directory> </VirtualHost> |