You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Cliff Woolley <jw...@virginia.edu> on 2003/07/08 18:33:48 UTC
Re: [patch] have_apache_mpm()
On Wed, 9 Jul 2003, Stas Bekman wrote:
> plan ..., have_apache2 && have_apache_mpm('prefork');
I think this is probably the way to go. If you call have_apache_mpm() and
it's apache 1.3, I might have it return an error of some kind, but I
wouldn't have it return 'prefork'.
--Cliff
Re: [patch] have_apache_mpm()
Posted by Stas Bekman <st...@stason.org>.
gyoung@modperlcookbook.org wrote:
>>On Wed, 9 Jul 2003, Stas Bekman wrote:
>>
>>
>>>plan ..., have_apache2 && have_apache_mpm('prefork');
>>
>>I think this is probably the way to go. If you call have_apache_mpm()
>>and it's apache 1.3, I might have it return an error of some kind, but
>>I wouldn't have it return 'prefork'.
>
>
> ok, I can do that.
>
> so, have_apache_mpm() will return false for Apache 1.3 and the mpm for
> Apache 2.I'll add some docs too.
+1
> I don't have the code in front of me, but if have_apache2 isn't there I'll
> implement thatas well.
We have that one already: have_apache(2)
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: [patch] have_apache_mpm()
Posted by gy...@modperlcookbook.org.
> On Wed, 9 Jul 2003, Stas Bekman wrote:
>
>> plan ..., have_apache2 && have_apache_mpm('prefork');
>
> I think this is probably the way to go. If you call have_apache_mpm()
> and it's apache 1.3, I might have it return an error of some kind, but
> I wouldn't have it return 'prefork'.
ok, I can do that.
so, have_apache_mpm() will return false for Apache 1.3 and the mpm for
Apache 2.I'll add some docs too.
I don't have the code in front of me, but if have_apache2 isn't there I'll
implement thatas well.
thanks for the feedback
--Geoff
Re: [patch] have_apache_mpm()
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
Cliff Woolley wrote:
> On Wed, 9 Jul 2003, Stas Bekman wrote:
>
>
>>plan ..., have_apache2 && have_apache_mpm('prefork');
>
>
> I think this is probably the way to go. If you call have_apache_mpm() and
> it's apache 1.3, I might have it return an error of some kind, but I
> wouldn't have it return 'prefork'.
ok, that's what I'll do then.
I'll code have_apache_mpm() so it returns false for Apache 1.3 and the
mpm for Apache 2. I also have some brief docs ready to go, so I'll
add that into the next iteration as well.
I don't have the code in front of me, we probably don't need
have_apache2() if it doesn't already exist - have_apache_version() and
variants are probably sufficient I would think.
--Geoff