summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-September/008035.html
blob: f9df49fc9f18cdd73efd0f75a8861064309976a7 (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
119
120
121
122
123
124
125
126
127
128
<!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=%3C4E7060A0.4030908%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="008026.html">
   <LINK REL="Next"  HREF="008036.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] changing apache configuration handling</H1>
    <B>Guillaume Rousse</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20changing%20apache%20configuration%20handling&In-Reply-To=%3C4E7060A0.4030908%40gmail.com%3E"
       TITLE="[Mageia-dev] changing apache configuration handling">guillomovitch at gmail.com
       </A><BR>
    <I>Wed Sep 14 10:06:56 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="008026.html">[Mageia-dev] Please remove or move siproxd
</A></li>
        <LI>Next message: <A HREF="008036.html">[Mageia-dev] changing apache configuration handling
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8035">[ date ]</a>
              <a href="thread.html#8035">[ thread ]</a>
              <a href="subject.html#8035">[ subject ]</a>
              <a href="author.html#8035">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hello list.

Our current default apache module configuration files all starts with:
&lt;IfDefine HAVE_FOOBAR&gt;
loadModule FooBar
&lt;/IfDefine&gt;

This allow to be smart, and eventually run apache without installed 
modules, which seems a cool idea. However, it also requires to 
explicitely launch apache with -DHAVE_FOOBAR to be able to use the given 
module, which seems however far less compliant with the general 'install 
and run' general idea (and eventually too much technical for some part 
of the target population). In order to mitigate this last point, our 
current sysinit init script automatically compute the list of arguments 
from the list of files present on the system, making it transparent for 
the end user. In the same time, it seems also to defeat the original 
purpose, as to my knowledge, you can't prevent it to automatically add 
-DHAVE_FOOBAR to httpd command line...

Now, with systemd, the general idea is to reduce additional ad-hoc 
behaviour found in init scripts, to focus on just running the services. 
As a consequence, there is no 'find everything installed to pass option 
to override conditional loading' in place. And I'm relunctant to 
reintroduce something whose sole purpose seems to workaround a 
self-imposed constraint.

So, we have the following choice:
- change current behaviour, by keeping conditionals in configuration 
file. To use php, you have to install mod_php, and add -DHAVE_PHP5 in 
/etc/sysconfig/httpd. This means additional configuration is required, 
but also possibility to temporary disable without uninstalling.

- keep current behaviour, by removing conditionals in configuration 
file. This means no additional configuration needed, but also than 
installing implies usage.

What's the general opinion there ?
-- 
BOFH excuse #367:

Webmasters kidnapped by evil cult.
</PRE>

































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