[Mageia-sysadm] [281] add vhost and webapp conf files

root at mageia.org root at mageia.org
Thu Nov 18 17:58:22 CET 2010


Revision: 281
Author:   boklm
Date:     2010-11-18 17:58:22 +0100 (Thu, 18 Nov 2010)
Log Message:
-----------
add vhost and webapp conf files

Modified Paths:
--------------
    puppet/modules/sympa/manifests/init.pp

Added Paths:
-----------
    puppet/modules/sympa/templates/vhost_sympa.mageia.org.conf
    puppet/modules/sympa/templates/webapp_sympa.conf

Modified: puppet/modules/sympa/manifests/init.pp
===================================================================
--- puppet/modules/sympa/manifests/init.pp	2010-11-18 15:55:02 UTC (rev 280)
+++ puppet/modules/sympa/manifests/init.pp	2010-11-18 16:58:22 UTC (rev 281)
@@ -40,5 +40,14 @@
         mode => 644,
         content => template("sympa/ldap_alias_entry.tt2")
     }
+
+    include apache::mod_fcgid
+    apache::webapp_other{"sympa":
+	webapp_file => "sympa/webapp_sympa.conf",
+    }
+
+   apache::vhost_other_app { "ml.$domain":
+        vhost_file => "sympa/vhost_sympa.mageia.org.conf",
+   }
 }
 

Added: puppet/modules/sympa/templates/vhost_sympa.mageia.org.conf
===================================================================
--- puppet/modules/sympa/templates/vhost_sympa.mageia.org.conf	                        (rev 0)
+++ puppet/modules/sympa/templates/vhost_sympa.mageia.org.conf	2010-11-18 16:58:22 UTC (rev 281)
@@ -0,0 +1,7 @@
+<VirtualHost *:80>
+	ServerName ml.<%= domain %>
+	DocumentRoot /usr/lib64/sympa/cgi
+	<Location />
+		Allow from all
+	</Location>
+</VirtualHost>

Added: puppet/modules/sympa/templates/webapp_sympa.conf
===================================================================
--- puppet/modules/sympa/templates/webapp_sympa.conf	                        (rev 0)
+++ puppet/modules/sympa/templates/webapp_sympa.conf	2010-11-18 16:58:22 UTC (rev 281)
@@ -0,0 +1,8 @@
+<Directory /usr/lib64/sympa/cgi>
+    Options ExecCGI
+    AddHandler fastcgi-script .fcgi
+    DirectoryIndex wwsympa-wrapper.fcgi
+
+    Order allow,deny
+    Allow from all
+</Directory>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101118/076ef1cd/attachment.html>


More information about the Mageia-sysadm mailing list