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/2010-November/000298.html | 112 ++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000298.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000298.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000298.html b/zarb-ml/mageia-sysadm/2010-November/000298.html new file mode 100644 index 000000000..227663bd3 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000298.html @@ -0,0 +1,112 @@ + + + + [Mageia-sysadm] [176] - add a type for vhost redirection to ssl ( for epoll and catdap, once we have https ) + + + + + + + + + +

[Mageia-sysadm] [176] - add a type for vhost redirection to ssl ( for epoll and catdap, once we have https )

+ root at mageia.org + root at mageia.org +
+ Sat Nov 6 10:36:03 CET 2010 +

+
+ +
Revision: 176
+Author:   misc
+Date:     2010-11-06 10:36:03 +0100 (Sat, 06 Nov 2010)
+Log Message:
+-----------
+- add a type for vhost redirection to ssl ( for epoll and catdap, once we have https )
+
+Modified Paths:
+--------------
+    puppet/modules/apache/manifests/init.pp
+
+Added Paths:
+-----------
+    puppet/modules/apache/templates/vhost_ssl_redirect.conf
+
+Modified: puppet/modules/apache/manifests/init.pp
+===================================================================
+--- puppet/modules/apache/manifests/init.pp	2010-11-06 09:00:37 UTC (rev 175)
++++ puppet/modules/apache/manifests/init.pp	2010-11-06 09:36:03 UTC (rev 176)
+@@ -54,8 +54,20 @@
+         }
+     }
+ 
+-    define vhost_catalyst_app($script, $process = 4, $force_ssl = false) {
++    define vhost_redirect_ssl() {
++        file { "redirect_ssl_$name.conf":
++            path => "/etc/httpd/conf/vhosts.d/redirect_ssl_$name.conf",
++            ensure => "present",
++            owner => root,
++            group => root,
++            mode => 644,
++            notify => Service['apache'],
++            content => template("apache/vhost_ssl_redirect.conf")
++        }
++    }
+ 
++    define vhost_catalyst_app($script, $process = 4, $use_ssl = false) {
++
+         include apache::mod_fastcgi 
+ 
+         file { "$name.conf":
+
+Added: puppet/modules/apache/templates/vhost_ssl_redirect.conf
+===================================================================
+--- puppet/modules/apache/templates/vhost_ssl_redirect.conf	                        (rev 0)
++++ puppet/modules/apache/templates/vhost_ssl_redirect.conf	2010-11-06 09:36:03 UTC (rev 176)
+@@ -0,0 +1,4 @@
++<VirtualHost *:80>
++        ServerName <%= vhost %>
++        Redirect / https://<%= vhost %>/
++</VirtualHost>
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101106/c723cc9b/attachment.html>
+
+ + + + + +
+

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