Re: modperl for httpd 2.4? Yes...

2017-06-23 Thread Peng Yonghua
Thanks for kind info, Randolf. On 2017/6/23 ζ˜ŸζœŸδΊ” 23:56, Randolf Richardson wrote: Yes, both ModPerl 2.0 and Apache HTTPd v2.4 are in active development. Please note that there are many different Apache HTTPd modules that have their own version numbers that are not in lockstep wit

modperl for httpd 2.4?

2017-06-23 Thread Peng Yonghua
Hi, Apache httpd has get upgraded to 2.4.26. But modperl is still in 2.0 branch. Is it still in active development? thanks. -- We are hiring: http://ml.dnsbed.com/

Re: internal dummy connection

2017-06-05 Thread Peng Yonghua
connection-issue Best regards, Holger On 5. Jun 2017, at 08:31, Peng Yonghua <mailto:p...@vodafonemail.de>> wrote: I saw many items like these in log, ::1 - - [05/Jun/2017:14:29:06 +0800] "OPTIONS * HTTP/1.0" 200 125 "-" "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.

internal dummy connection

2017-06-04 Thread Peng Yonghua
I saw many items like these in log, ::1 - - [05/Jun/2017:14:29:06 +0800] "OPTIONS * HTTP/1.0" 200 125 "-" "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.21 mod_apreq2-20090110/2.8.0 mod_perl/2.0.8 Perl/v5.18.2 (internal dummy connection)" ::1 - - [05/Jun/2017:14:29:07 +0800] "OPTIONS * HTTP/1.0" 200

Re: mod_perl and utf8 and CGI->param

2017-06-01 Thread Peng Yonghua
And, can I override any method from a class via this way? is this a general trick? thanks. On 2017/6/2 8:48, Peng Yonghua wrote: good patch. thanks for sharing. On 2017/6/1 23:34, Randal L. Schwartz wrote: I realized that I never posted my ultimate solution. I monkey patch CGI.pm

Re: mod_perl and utf8 and CGI->param

2017-06-01 Thread Peng Yonghua
good patch. thanks for sharing. On 2017/6/1 23:34, Randal L. Schwartz wrote: I realized that I never posted my ultimate solution. I monkey patch CGI.pm: require CGI; { my $orig = \&CGI::param; no warnings 'redefine'; *CGI::param = sub { $CGI::LIST_CONTEXT_WARN = 0; # workaround

Re: capture exception

2017-06-01 Thread Peng Yonghua
Thanks for everyone's reply. I got the idea from https://stackoverflow.com/questions/4006267/what-is-the-best-way-to-handle-exceptions-in-perl , The consensus of the Perl community seems to be thatTry::Tiny is the preferred way of doing exception ha

capture exception

2017-05-25 Thread Peng Yonghua
greeting, I am not so good at perl/modperl,:) In the handler, a method from a class was called, when something dies from within the method, what's the correct way the handler will take? for example, I wrote this API which works right if given a correct domain name: http://fenghe.org/domain

Re: get apache's concurrent connection number

2007-11-26 Thread yonghua
ill check Apache::Scoreboard. thanks. --yonghua (Jeff)

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.