diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2011-September/008077.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2011-September/008077.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-September/008077.html | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-September/008077.html b/zarb-ml/mageia-dev/2011-September/008077.html new file mode 100644 index 000000000..2bd17d9f3 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-September/008077.html @@ -0,0 +1,120 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] changing apache configuration handling + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20changing%20apache%20configuration%20handling&In-Reply-To=%3C201109150034.39912.r.h.michel%2Bmageia%40gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="008073.html"> + <LINK REL="Next" HREF="008118.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] changing apache configuration handling</H1> + <B>Renaud MICHEL</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20changing%20apache%20configuration%20handling&In-Reply-To=%3C201109150034.39912.r.h.michel%2Bmageia%40gmail.com%3E" + TITLE="[Mageia-dev] changing apache configuration handling">r.h.michel+mageia at gmail.com + </A><BR> + <I>Thu Sep 15 00:34:39 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="008073.html">[Mageia-dev] changing apache configuration handling +</A></li> + <LI>Next message: <A HREF="008118.html">[Mageia-dev] changing apache configuration handling +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8077">[ date ]</a> + <a href="thread.html#8077">[ thread ]</a> + <a href="subject.html#8077">[ subject ]</a> + <a href="author.html#8077">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello +On mercredi 14 septembre 2011 at 10:06, Guillaume Rousse wrote : +><i> So, we have the following choice: +</I>><i> - change current behaviour, by keeping conditionals in configuration +</I>><i> file. To use php, you have to install mod_php, and add -DHAVE_PHP5 in +</I>><i> /etc/sysconfig/httpd. This means additional configuration is required, +</I>><i> but also possibility to temporary disable without uninstalling. +</I>><i> +</I>><i> - keep current behaviour, by removing conditionals in configuration +</I>><i> file. This means no additional configuration needed, but also than +</I>><i> installing implies usage. +</I> +How about the way it works on debian? + +Their apache2.2-common package, which contains all the base configuration +files, has a mods-available and a mods-enabled dirs in the apache conf dir +(/etc/apache2 for debian). +Modules load command and specific configuration (if needed) are provided as +*.load and *.conf files in the mods-available dir, then the a2enmod command +is used to enable (and its counterpart e2dismod disables them) some mods by +creating symlink in the mods-enabled dir. +The main apache2.conf file then has +Include mods-enabled/*.load +Include mods-enabled/*.conf +to load the actually enabled mods. +a2enmod also knows about modules dependencies via special comments in the +*.load files. + +Then there is a similar mechanism for sites installed by packages with +sites-available and sites-enabled directories and a2ensite a2dissite +commands. + +see +<A HREF="http://packages.debian.org/squeeze/apache2.2-common">http://packages.debian.org/squeeze/apache2.2-common</A> +<A HREF="http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENMOD">http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENMOD</A> +<A HREF="http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENSITE">http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENSITE</A> + +-- +Renaud Michel +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="008073.html">[Mageia-dev] changing apache configuration handling +</A></li> + <LI>Next message: <A HREF="008118.html">[Mageia-dev] changing apache configuration handling +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8077">[ date ]</a> + <a href="thread.html#8077">[ thread ]</a> + <a href="subject.html#8077">[ subject ]</a> + <a href="author.html#8077">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |