Re: get apache's concurrent connection number

2007-11-26 Thread Perrin Harkins
On Nov 26, 2007 8:54 PM, yonghua <[EMAIL PROTECTED]> wrote: > Our application has a large cluster, that's to say, there is an > application, which is running on about 40 linux boxes (each box is a > mirror).And those 40 linux boxes are locatated in different areas. > When a server get high load, we

Re: get apache's concurrent connection number

2007-11-26 Thread yonghua
On Nov 27, 2007 2:56 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > > I think you'd be much better off building this into a proxy server. > There are several that allow customization. However, the way to > access this information is through Apache::Scoreboard. Thanks Perrin. Our application has

[ANNOUNCE] Apache-Test 1.30

2007-11-26 Thread Fred Moyer
Greetings, Version 1.30 of Apache::Test will be coming to a CPAN mirror near you shortly. md5: f4e34be218a25048def5a4f797ae7cb9 Summary of changes in version 1.30: Added t_write_test_lib for temporary testing packages [Fred Moyer <[EMAIL PROTECTED]>] Fix syntax error in generated PHP files

Connection filter trouble mod_perl 2.0.2/2.0.3 apache 2.2.6

2007-11-26 Thread root
Hi, I played with the All-In-One filter(s) here http://perl.apache.org/docs/2.0/user/handlers/filters.html#All_in_One_Filter and got the expected results for the request filters but nothing for the connection filters. I even changed the connection filters so that they'd die upon invocation but

Re: CGI->params() should be tainted, right?

2007-11-26 Thread jalex
Scott Gifford wrote: > > > FYI, this test case works properly under my installation of Debian > mod_perl 1.29.0.2 under apache 1.3.34. > > Jalex, you might want to print out the value of your test variable and > make sure it is being received properly. I thought I saw the same > problem, unti

Auth Question need some input

2007-11-26 Thread Alexander Burrows
Alright I have been sitting on the side lines of learning anything new about mod_perl for too long. So I hope I've come to the right place to get brushed up on things. I'll be diving into mod_perl 2 and apache 2 soon but need to get some things working in mod perl 1 first. I'm working on a user b

Re: CGI->params() should be tainted, right?

2007-11-26 Thread Scott Gifford
jalex <[EMAIL PROTECTED]> writes: > I'm running mod_perl 2.0.2 under apache 2.0.54. After adding "PerlSwitches > -wT" to my apache config, I wanted to test that I had taint mode was indeed > working, so I wrote a test script that purposely misused a CGI parameter, > expecting the taint exception t

Re: GATEWAY_INTERFACE CGI-Perl

2007-11-26 Thread Neil Shephard
Neil Shephard wrote: > > 2. Should I be worried about the GATEWAY_INTERFACE = CGI/1.1 ? What is > the specific implication of having it as this, compared to > CGI-perl/1.1 ? What module should I be setting > (PerlResponseHandler???) to get this variable to in order to get > CGI-perl? > > I've

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

2007-11-26 Thread Jimmy Li
Thank you for the info Adam. I already wrote a wrapper that does just that. I was hoping to find an alternative but and I guess I will stick with the wrapper. Jimmy On Nov 26, 2007 8:37 AM, <[EMAIL PROTECTED]> wrote: > Quoting Jimmy Li <[EMAIL PROTECTED]>: > > > > How did you put all the reque

Re: get apache's concurrent connection number

2007-11-26 Thread Perrin Harkins
On Nov 25, 2007 10:08 PM, yonghua <[EMAIL PROTECTED]> wrote: > 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 m