William A. Rowe, Jr. wrote:
> Only question below is should this hook always run before or after the 
> post config hook?  My gut says after post config.

just going from what you had said earlier:

> 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.)

:)

but now that I think about it, if post_config is where module init stuff
lives, then it feels right to have vhosts initialized prior to that, since
the new hook seems like more of a config-type thing.  but it's not hard to
see how someone could have the opposite viewpoint, so no strong feelings
here either way.

the only other (unrelated) thought that I had was that it might be more
self-documenting to name it host_init rather than vhost_init, keeping it
very obvious that it runs for the main server as well as any configured vhosts.

--Geoff


Reply via email to