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 <[email protected]> wrote: > From: Eldar Gaynetdinov <[email protected]> > Subject: Controlling hook calling order in Apache 2.x > To: [email protected] > 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 > > > >
