diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-11-04 18:38:47 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-11-04 18:38:47 +0000 |
commit | 60f67a21e2785e96fc00a712e5dbdb2015eea202 (patch) | |
tree | a0b06a76fb7273c330d402b0d01c7cc74e1f4a52 /modules/mga-mirrors | |
parent | a8ecd91ce0a3a0324e380e6edf1754b6fd6c1241 (diff) | |
download | puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar.gz puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar.bz2 puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.tar.xz puppet-60f67a21e2785e96fc00a712e5dbdb2015eea202.zip |
- add config for mga-mirrors
Diffstat (limited to 'modules/mga-mirrors')
-rw-r--r-- | modules/mga-mirrors/templates/mirrors_vhost.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/mga-mirrors/templates/mirrors_vhost.conf b/modules/mga-mirrors/templates/mirrors_vhost.conf new file mode 100644 index 00000000..f31ed84b --- /dev/null +++ b/modules/mga-mirrors/templates/mirrors_vhost.conf @@ -0,0 +1,15 @@ +<VirtualHost *:80> + ServerName identity.<%= domain %> + # Serve static content directly + DocumentRoot /dev/null + + Alias / /usr/bin/mga_mirrors_fastcgi.pl/ + FastCgiServer /usr/bin/mga_mirrors_fastcgi.pl -processes 4 -idle-timeout 30 + + <Directory <%= catdap_location %>/script> + Options +ExecCGI + SetHandler fcgid-script + Allow from all + </Directory> +</VirtualHost> + |