[pkg-lighttpd] Bug#521235: Bug#521235: Adding modules to server.modules not idempotent
stbuehler at lighttpd.net
Thu Aug 5 22:02:59 UTC 2010
On 08/05/2010 11:26 PM, Olaf van der Spek wrote:
> 2010/8/5 Stefan Bühler<stbuehler at lighttpd.net>:
>> Olaf is quite right here: as the order of the modules is important,
>> adding modules can not be idempotent, and we therefore will not
>> change it.
> What happens when a module is added for the second time?
> I don't understand why it can't be idempotent.
You think that a "module-load-list"
(a, a, b) should be the same as (a, b) - i.e. removing duplicates
But there is no good way to decide what to do with (a, b, a),
as (a, b) and (b, a) are really different (order matters);
and therefore we cannot make module loading "idempotent".
And i don't recommend loading modules in vhost configs; you really
should know what modules are loaded from a look at your main config file.
It is not uncommon that people with debian configs ask in #lighttpd for
support and don't even know whether they use cgi or fastcgi (or think
they know and are wrong)...
More information about the pkg-lighttpd-maintainers