httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <d...@haxent.com.br>
Subject Re: How to detect the mpm used via apxs?
Date Sat, 19 Aug 2006 13:18:51 GMT

Em 19/08/2006, às 07:55, Mladen Turk escreveu:

> Hi,
>
> Anyone knows how to detect the mpm used so that
> module can be build with/without threading code
> depending if the mpm is prefork or any other threaded
> one like worker by using apxs?

Why use apxs ?

mpm.h:

#define WORKER_MPM
#define MPM_NAME "Worker"

>
> The only way I can imagine is to parse the stdout from
> httpd, but IMHO something like
> apxs -q MPM should do the trick like it does for CFLAGS
> or INCLUDES.
>
> Regards,
> Mladen.


Mime
View raw message