Re: How to detect the mpm used via apxs?

2006-08-30 Thread Enrico Weigelt
* Mladen Turk [EMAIL PROTECTED] wrote: 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? are you shure you really want to know the mpm name instead of just

Re: How to detect the mpm used via apxs?

2006-08-30 Thread Enrico Weigelt
* Guy Hulbert [EMAIL PROTECTED] wrote: snip or if you've already compiled it ... $ /usr/sbin/apache2 -V | grep MPM -D APACHE_MPM_DIR=server/mpm/worker Bad, very bad. Breaks crosscompiling. Ah, yeah, apache cannot be crosscompile'd w/o massive manual intervention at all ... ;-o (but I'm

How to detect the mpm used via apxs?

2006-08-19 Thread Mladen Turk
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? The only way I can imagine is to parse the stdout from httpd, but IMHO something like apxs -q MPM should do

Re: How to detect the mpm used via apxs?

2006-08-19 Thread Davi Arnaut
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

Re: How to detect the mpm used via apxs?

2006-08-19 Thread Guy Hulbert
On Sat, 2006-19-08 at 10:18 -0300, Davi Arnaut wrote: 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

Re: How to detect the mpm used via apxs?

2006-08-19 Thread Randy Kobes
On Sat, 19 Aug 2006, Guy Hulbert wrote: On Sat, 2006-19-08 at 10:18 -0300, Davi Arnaut wrote: Em 19/08/2006, �s 07:55, Mladen Turk escreveu: 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

Re: How to detect the mpm used via apxs?

2006-08-19 Thread Mladen Turk
Randy Kobes wrote: 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? /path/to/apxs -q MPM_NAME That was exactly what I needed. Thanks, Mladen.

Re: How to detect the mpm used via apxs?

2006-08-19 Thread William A. Rowe, Jr.
Mladen Turk wrote: Randy Kobes wrote: 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? /path/to/apxs -q MPM_NAME That was exactly what I needed. Well,

Re: How to detect the mpm used via apxs?

2006-08-19 Thread Mladen Turk
William A. Rowe, Jr. wrote: Mladen Turk wrote: Randy Kobes wrote: 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? /path/to/apxs -q MPM_NAME That was exactly