summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000239.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000239.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000239.html110
1 files changed, 110 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000239.html b/zarb-ml/mageia-sysadm/2010-November/000239.html
new file mode 100644
index 000000000..75b94229e
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000239.html
@@ -0,0 +1,110 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [123] - refactor the vhost setting, and clean it
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B123%5D%20-%20refactor%20the%20vhost%20setting%2C%20and%20clean%20it&In-Reply-To=%3C20101105010435.BAF4B2B235%40krampouezh.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000238.html">
+ <LINK REL="Next" HREF="000240.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [123] - refactor the vhost setting, and clean it</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B123%5D%20-%20refactor%20the%20vhost%20setting%2C%20and%20clean%20it&In-Reply-To=%3C20101105010435.BAF4B2B235%40krampouezh.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [123] - refactor the vhost setting, and clean it">root at mageia.org
+ </A><BR>
+ <I>Fri Nov 5 02:04:35 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000238.html">[Mageia-sysadm] [122] - use the refactored vhost
+</A></li>
+ <LI>Next message: <A HREF="000240.html">[Mageia-sysadm] [124] - add a class for mod_fastcgi
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#239">[ date ]</a>
+ <a href="thread.html#239">[ thread ]</a>
+ <a href="subject.html#239">[ subject ]</a>
+ <a href="author.html#239">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 123
+Author: misc
+Date: 2010-11-05 02:04:35 +0100 (Fri, 05 Nov 2010)
+Log Message:
+-----------
+- refactor the vhost setting, and clean it
+
+Modified Paths:
+--------------
+ puppet/modules/mga-mirrors/manifests/init.pp
+ puppet/modules/mga-mirrors/templates/mirrors_vhost.conf
+
+Modified: puppet/modules/mga-mirrors/manifests/init.pp
+===================================================================
+--- puppet/modules/mga-mirrors/manifests/init.pp 2010-11-05 01:01:29 UTC (rev 122)
++++ puppet/modules/mga-mirrors/manifests/init.pp 2010-11-05 01:04:35 UTC (rev 123)
+@@ -1,4 +1,6 @@
+ class mga-mirrors {
++
++ $vhost = &quot;mirrors.$domain&quot;
+
+ include apache::mod_fcgid
+
+@@ -7,8 +9,8 @@
+ }
+
+ # add a apache vhost
+- file { &quot;mirrors.$domain.conf&quot;:
+- path =&gt; &quot;/etc/httpd/conf/vhosts.d/$name.$domain.conf&quot;,
++ file { &quot;$vhost.conf&quot;:
++ path =&gt; &quot;/etc/httpd/conf/vhosts.d/$vhost.conf&quot;,
+ ensure =&gt; &quot;present&quot;,
+ owner =&gt; root,
+ group =&gt; root,
+
+Modified: puppet/modules/mga-mirrors/templates/mirrors_vhost.conf
+===================================================================
+--- puppet/modules/mga-mirrors/templates/mirrors_vhost.conf 2010-11-05 01:01:29 UTC (rev 122)
++++ puppet/modules/mga-mirrors/templates/mirrors_vhost.conf 2010-11-05 01:04:35 UTC (rev 123)
+@@ -1,6 +1,5 @@
+-NameVirtualHost *:80
+ &lt;VirtualHost *:80&gt;
+- ServerName mirrors.&lt;%= domain %&gt;
++ ServerName &lt;%= vhost %&gt;
+ # Serve static content directly
+ DocumentRoot /dev/null
+
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101105/65d06fe8/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000238.html">[Mageia-sysadm] [122] - use the refactored vhost
+</A></li>
+ <LI>Next message: <A HREF="000240.html">[Mageia-sysadm] [124] - add a class for mod_fastcgi
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#239">[ date ]</a>
+ <a href="thread.html#239">[ thread ]</a>
+ <a href="subject.html#239">[ subject ]</a>
+ <a href="author.html#239">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>