[pkg-lighttpd] Bug#498951: Bug#498951: closed by Olaf van der Spek <olaf at xwis.net> ()

Olaf van der Spek olafvdspek at gmail.com
Sun Oct 24 14:25:13 UTC 2010


On Sun, Oct 24, 2010 at 4:15 PM, Jonas Smedegaard <dr at jones.dk> wrote:
>> Hmm, how does one properly create those default symlinks?
>
> Ahem, using lightly-enable-mod.

Doh ;)

> That answer seems so obvious that I suspect perhaps we are talking past each
> other here, but can't imagine what might be the misunderstanding...

I mean, where do I call this such that it's only done on first install
and not on every update?

>> I've enabled redirect by default in the main conf now, only rewrite is
>> left in there disabled.
>
> Yes. And that's a good start: It is not possible to disable them later.
>
> But...
>
>  * the config file still encourage enabling modules there

Due to the server.modules += part?

>  * there is no warning (that I know of) about multiple enabling modules

2010-10-24 16:23:36: (plugin.c.131) Cannot load plugin mod_access more
than once, please fix your config (we may not accept such configs in
future releases
.
>  * you do not provide a mechanism for other packages to enable modules
>   during install.

This would only apply to rewrite now, right?

> I maintain (more than) 2 packages related to this: cipux-cat-web and sympa.
>
> Today, I would need to have each of those packages provide a snippet which
> both enable the needed modules and configure patg access etc.
>
> This means installing both packages causes modules to be enabled twice,
> which you told me is bad.
>
> What I do with those package regarding apache2 is to a) enable needed
> modules, and b) add a snippet only setting up path access etc.

Olaf





More information about the pkg-lighttpd-maintainers mailing list