httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: How to Create a Subprocess at init-phase ?
Date Wed, 23 Feb 2005 21:34:17 GMT
On Thu, 24 Feb 2005 01:36:50 +0900 (JST),
a1131622@jupiter.kanazawa-it.ac.jp
<a1131622@jupiter.kanazawa-it.ac.jp> wrote:

> I'm trying to create a subprocess using ap_bspawn_child() at init-phase.
> But the ap_bspwan_child API requires a request_rec at the 3rd argument,
> which is not available at this init-phase.
> Only server_rec and pool is given as arguments of init-phase function.
> 
> Does anyone have good idea to call an external command at init-phase ?

check mod_rewrite source code for how it starts rewritemap programs

ttp://svn.apache.org/viewcvs.cgi/httpd/httpd/branches/1.3.x/src/modules/standard/mod_rewrite.c?rev=106443&view=markup

Mime
View raw message