summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-September/008118.html
blob: 1de7d2fde2895827985e9402b59759e404298f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!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=%3C201109150103.27060.maarten%40rmail.be%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="008077.html">
   <LINK REL="Next"  HREF="008125.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] changing apache configuration handling</H1>
    <B>Maarten Vanraes</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20changing%20apache%20configuration%20handling&In-Reply-To=%3C201109150103.27060.maarten%40rmail.be%3E"
       TITLE="[Mageia-dev] changing apache configuration handling">maarten at rmail.be
       </A><BR>
    <I>Thu Sep 15 01:03:27 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="008077.html">[Mageia-dev] changing apache configuration handling
</A></li>
        <LI>Next message: <A HREF="008125.html">[Mageia-dev] changing apache configuration handling
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8118">[ date ]</a>
              <a href="thread.html#8118">[ thread ]</a>
              <a href="subject.html#8118">[ subject ]</a>
              <a href="author.html#8118">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Op donderdag 15 september 2011 00:34:39 schreef Renaud MICHEL:
&gt;<i> Hello
</I>&gt;<i> 
</I>&gt;<i> On mercredi 14 septembre 2011 at 10:06, Guillaume Rousse wrote :
</I>&gt;<i> &gt; So, we have the following choice:
</I>&gt;<i> &gt; - change current behaviour, by keeping conditionals in configuration
</I>&gt;<i> &gt; file. To use php, you have to install mod_php, and add -DHAVE_PHP5 in
</I>&gt;<i> &gt; /etc/sysconfig/httpd. This means additional configuration is required,
</I>&gt;<i> &gt; but also possibility to temporary disable without uninstalling.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; - keep current behaviour, by removing conditionals in configuration
</I>&gt;<i> &gt; file. This means no additional configuration needed, but also than
</I>&gt;<i> &gt; installing implies usage.
</I>&gt;<i> 
</I>&gt;<i> How about the way it works on debian?
</I>&gt;<i> 
</I>&gt;<i> Their apache2.2-common package, which contains all the base configuration
</I>&gt;<i> files, has a mods-available and a mods-enabled dirs in the apache conf dir
</I>&gt;<i> (/etc/apache2 for debian).
</I>&gt;<i> Modules load command and specific configuration (if needed) are provided as
</I>&gt;<i> *.load and *.conf files in the mods-available dir, then the a2enmod command
</I>&gt;<i> is used to enable (and its counterpart e2dismod disables them) some mods by
</I>&gt;<i> creating symlink in the mods-enabled dir.
</I>&gt;<i> The main apache2.conf file then has
</I>&gt;<i> Include mods-enabled/*.load
</I>&gt;<i> Include mods-enabled/*.conf
</I>&gt;<i> to load the actually enabled mods.
</I>&gt;<i> a2enmod also knows about modules dependencies via special comments in the
</I>&gt;<i> *.load files.
</I>&gt;<i> 
</I>&gt;<i> Then there is a similar mechanism for sites installed by packages with
</I>&gt;<i> sites-available and sites-enabled directories and a2ensite a2dissite
</I>&gt;<i> commands.
</I>&gt;<i> 
</I>&gt;<i> see
</I>&gt;<i> <A HREF="http://packages.debian.org/squeeze/apache2.2-common">http://packages.debian.org/squeeze/apache2.2-common</A>
</I>&gt;<i> <A HREF="http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENMOD">http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENMOD</A>
</I>&gt;<i> <A HREF="http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENSITE">http://manpages.debian.net/cgi-bin/man.cgi?query=A2ENSITE</A>
</I>
personally i prefer debian-style layout (it's even easy to change this as it's 
a configure flag).

I would be all for moving to that kind of layout
</PRE>





















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="008077.html">[Mageia-dev] changing apache configuration handling
</A></li>
	<LI>Next message: <A HREF="008125.html">[Mageia-dev] changing apache configuration handling
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8118">[ date ]</a>
              <a href="thread.html#8118">[ thread ]</a>
              <a href="subject.html#8118">[ subject ]</a>
              <a href="author.html#8118">[ 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>