Revision
103
Author
nanardon
Date
2010-11-04 19:38:47 +0100 (Thu, 04 Nov 2010)

Log Message

- add config for mga-mirrors

Added Paths

Added: puppet/modules/mga-mirrors/templates/mirrors_vhost.conf
===================================================================
--- puppet/modules/mga-mirrors/templates/mirrors_vhost.conf	                        (rev 0)
+++ puppet/modules/mga-mirrors/templates/mirrors_vhost.conf	2010-11-04 18:38:47 UTC (rev 103)
@@ -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>
+