Re: Modifiable APR::Request::Param::Table

2007-11-25 Thread Adam Prime
Perrin Harkins wrote: >> Get the request parameters using the tied APR::Request::Param::Table object (which is returned by Apache2::Request->new($r)->param in scalar context) as well as being able to modify the request parameters in the tied APR::Request::Param::Table object. Yes, but why? Th

Re: Modifiable APR::Request::Param::Table

2007-11-25 Thread Perrin Harkins
On Nov 25, 2007 11:43 AM, Adam Prime <[EMAIL PROTECTED]> wrote: > The rub here for me is that in apreq1 you could modify param just fine, > but that in apreq2 you cannot. None of the porting documents mention > this unfortunately. The PORTING section of the Apache2::Request docs do say this. I t

Re: Modifiable APR::Request::Param::Table

2007-11-25 Thread Jimmy Li
> What I ultimately did to get around this was modify the param scrubbing > code that wanted to modify param so that what it created a new instance > of an APR::Table, which does implement STORE when tied, and put > everything in there. > > Adam How did you put all the request parameters into an A

get apache's concurrent connection number

2007-11-25 Thread yonghua
Hello, How to get Apache's concurrent connection number under modperl? We have a plan that, when an apache's concurrent connection is large, we make the apache to redirect user's new request to another http server. So I need to write a mp module to do that. Thanks for any guide.

Re: get apache's concurrent connection number

2007-11-25 Thread Roberto C . Sánchez
On Mon, Nov 26, 2007 at 11:08:32AM +0800, yonghua wrote: > Hello, > > How to get Apache's concurrent connection number under modperl? > We have a plan that, when an apache's concurrent connection is large, > we make the apache to redirect user's new request to another http > server. So I need to w

Re: get apache's concurrent connection number

2007-11-25 Thread Jeff Pang
On Nov 26, 2007 11:16 AM, Roberto C. Sánchez <[EMAIL PROTECTED]> wrote: > > > Umm, why would you want to do that? Why not just use a proper load > balancing solution? > because, when redirecting, apache doesn't know the exact location for that redirection. apache must do some querying to get the