diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000332.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000332.html | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000332.html b/zarb-ml/mageia-sysadm/2010-November/000332.html new file mode 100644 index 000000000..7cbd94f3a --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000332.html @@ -0,0 +1,109 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [194] - add a hook to serve static file with apache directly + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B194%5D%20-%20add%20a%20hook%20to%20serve%20static%20file%20with%20apache%0A%09directly&In-Reply-To=%3C20101108001844.ABEF83F92A%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000331.html"> + <LINK REL="Next" HREF="000333.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [194] - add a hook to serve static file with apache directly</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B194%5D%20-%20add%20a%20hook%20to%20serve%20static%20file%20with%20apache%0A%09directly&In-Reply-To=%3C20101108001844.ABEF83F92A%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [194] - add a hook to serve static file with apache directly">root at mageia.org + </A><BR> + <I>Mon Nov 8 01:18:44 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000331.html">[Mageia-sysadm] [118] - remove wrong import, to fix catdap +</A></li> + <LI>Next message: <A HREF="000333.html">[Mageia-sysadm] [195] add bugs.mageia.org +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#332">[ date ]</a> + <a href="thread.html#332">[ thread ]</a> + <a href="subject.html#332">[ subject ]</a> + <a href="author.html#332">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 194 +Author: misc +Date: 2010-11-08 01:18:44 +0100 (Mon, 08 Nov 2010) +Log Message: +----------- +- add a hook to serve static file with apache directly + +Modified Paths: +-------------- + puppet/modules/apache/manifests/init.pp + puppet/modules/apache/templates/vhost_catalyst_app.conf + +Modified: puppet/modules/apache/manifests/init.pp +=================================================================== +--- puppet/modules/apache/manifests/init.pp 2010-11-07 23:36:49 UTC (rev 193) ++++ puppet/modules/apache/manifests/init.pp 2010-11-08 00:18:44 UTC (rev 194) +@@ -82,7 +82,7 @@ + } + } + +- define vhost_catalyst_app($script, $process = 4, $use_ssl = false) { ++ define vhost_catalyst_app($script, $location = '', $process = 4, $use_ssl = false) { + + include apache::mod_fastcgi + + +Modified: puppet/modules/apache/templates/vhost_catalyst_app.conf +=================================================================== +--- puppet/modules/apache/templates/vhost_catalyst_app.conf 2010-11-07 23:36:49 UTC (rev 193) ++++ puppet/modules/apache/templates/vhost_catalyst_app.conf 2010-11-08 00:18:44 UTC (rev 194) +@@ -2,7 +2,9 @@ + ServerName <%= name %> + # Serve static content directly + DocumentRoot /dev/null +- ++<% if location then %> ++ Alias /static <%= location %>/root/static ++<% endif %> + Alias / <%= script %>/ + FastCgiServer <%= script %> -processes <%= process %> -idle-timeout 30 + +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101108/017de46d/attachment.html> +</PRE> + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000331.html">[Mageia-sysadm] [118] - remove wrong import, to fix catdap +</A></li> + <LI>Next message: <A HREF="000333.html">[Mageia-sysadm] [195] add bugs.mageia.org +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#332">[ date ]</a> + <a href="thread.html#332">[ thread ]</a> + <a href="subject.html#332">[ subject ]</a> + <a href="author.html#332">[ 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> |