httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: why open_logs/post_config hooks are run only for the main server?
Date Mon, 22 Dec 2003 17:19:51 GMT


William A. Rowe, Jr. wrote:

> It is almost worth a totally different hook entry point (before
> post_config) such as vhost_init which *would* be called per-vhost
> (starting from the main server config and working through the list.)
> 
> I have several modules with the for (s=_server; s; s = s->next) paradigm
> that would be easier to read using such a hook.  Although I'm generally
> against adding more cpu-intensive hook phases, this is an init-only hook
> so it's much easier to implement.

I had some spare time and thought I could help with the grunt work - my try
at a patch attached.

HTH

--Geoff

Mime
View raw message