From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002152.html | 125 +++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002152.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002152.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002152.html b/zarb-ml/mageia-sysadm/2011-January/002152.html new file mode 100644 index 000000000..7ce5e5172 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002152.html @@ -0,0 +1,125 @@ + + + + [Mageia-sysadm] [812] new vhost_wsgi type, for viewvc support + + + + + + + + + +

[Mageia-sysadm] [812] new vhost_wsgi type, for viewvc support

+ root at mageia.org + root at mageia.org +
+ Mon Jan 17 16:24:07 CET 2011 +

+
+ +
Revision: 812
+Author:   misc
+Date:     2011-01-17 16:24:07 +0100 (Mon, 17 Jan 2011)
+Log Message:
+-----------
+new vhost_wsgi type, for viewvc support
+
+Modified Paths:
+--------------
+    puppet/modules/apache/manifests/init.pp
+
+Added Paths:
+-----------
+    puppet/modules/apache/templates/vhost_wsgi.conf
+
+Modified: puppet/modules/apache/manifests/init.pp
+===================================================================
+--- puppet/modules/apache/manifests/init.pp	2011-01-16 13:59:51 UTC (rev 811)
++++ puppet/modules/apache/manifests/init.pp	2011-01-17 15:24:07 UTC (rev 812)
+@@ -157,6 +157,19 @@
+         }
+     }
+ 
++    define vhost_wsgi($wsgi_path) {
++        include apache::mod_wsgi
++        file { "$name.conf":
++            path => "/etc/httpd/conf/vhosts.d/$name.conf",
++            ensure => "present",
++            owner => root,
++            group => root,
++            mode => 644,
++            notify => Service['apache'],
++            content => template("apache/vhost_wsgi.conf")
++        }
++    }
++
+    define vhost_other_app($vhost_file) {
+         include apache::base
+         file { "$name.conf":
+
+Added: puppet/modules/apache/templates/vhost_wsgi.conf
+===================================================================
+--- puppet/modules/apache/templates/vhost_wsgi.conf	                        (rev 0)
++++ puppet/modules/apache/templates/vhost_wsgi.conf	2011-01-17 15:24:07 UTC (rev 812)
+@@ -0,0 +1,11 @@
++<VirtualHost *:80>
++        ServerName <%= name %>
++        # Serve static content directly
++        DocumentRoot  /dev/null
++
++        WSGIScriptAlias / <%= wsgi_path %>
++        <Location />
++            Allow from all
++        </Location>
++</VirtualHost>
++
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110117/90aec872/attachment.html>
+
+ + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1