httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eldar Gaynetdinov <hal9000e...@yahoo.com>
Subject Re: Controlling hook calling order in Apache 2.x
Date Sun, 04 Oct 2009 15:51:28 GMT
I'm sorry. It was a stupid question :)

Of course I can define any value less than APR_HOOK_REALLY_FIRST.

--- On Sat, 10/3/09, Eldar Gaynetdinov <hal9000ed2k@yahoo.com> wrote:

> From: Eldar Gaynetdinov <hal9000ed2k@yahoo.com>
> Subject: Controlling hook calling order in Apache 2.x
> To: dev@httpd.apache.org
> Date: Saturday, October 3, 2009, 11:24 AM
> Hi!
> 
> Dev manual on http://httpd.apache.org/docs/2.2/developer/hooks.html
> says:
> 
> "All modules using any particular value may be run in any
> order relative to each other, but, of course, all modules
> using APR_HOOK_FIRST will be run before
> APR_HOOK_MIDDLE  which are before APR_HOOK_LAST.
> Modules that don't care when they are run should use
> APR_HOOK_MIDDLE. (I spaced these out so people could do
> stuff like APR_HOOK_FIRST-2  to get in slightly
> earlier, but is this wise? - Ben)
> 
> Note that there are two more values, APR_HOOK_REALLY_FIRST
> and APR_HOOK_REALLY_LAST."
> 
> If other modules has a hook with APR_HOOK_REALLY_FIRST
> (e.g. ap_hook_post_config in mod_cgi.c) how can I write hook
> which will called actually first?
> 
> Thank in advance.
> 
> -- 
> Eldar
> 
> 
>       
> 


      

Mime
View raw message