You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2001/12/18 00:12:42 UTC
Modules and one_process?
Is there any supported way for a 1.3 module to be able to tell
whether the server is running in -X mode? The only one
I can think of is to declare both an init and a child_init
handler, and check at a later stage to see whether the
child_init ever ran..
How about for 2.0?
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"All right everyone! Step away from the glowing hamburger!"
Re: Modules and one_process?
Posted by Ryan Morgan <rm...@covalent.net>.
On Mon, Dec 17, 2001 at 06:12:42PM -0500, Rodent of Unusual Size wrote:
> Is there any supported way for a 1.3 module to be able to tell
> whether the server is running in -X mode? The only one
> I can think of is to declare both an init and a child_init
> handler, and check at a later stage to see whether the
> child_init ever ran..
>
> How about for 2.0?
In 2.0 you can use ap_exists_config_define("ONE_PROCESS")
Not sure about 1.3
-Ryan