[Mageia-sysadm] [103] - add config for mga-mirrors

root at mageia.org root at mageia.org
Thu Nov 4 19:38:47 CET 2010


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:
-----------
    puppet/modules/mga-mirrors/templates/mirrors_vhost.conf

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>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101104/b4f04a45/attachment-0001.html>


More information about the Mageia-sysadm mailing list