Re: Mod_perl upload problem

2005-05-01 Thread Stas Bekman
Bart Terryn wrote: Hi, I'm have been running mod_perl for a while now. Current situation is: -Win 2000 SP2 -Apache 2.0.47 -mod_perl 1.999.22 -Perl 5.8.3 http conf: Alias /mod_perl/ "C:/Program Files/Apache Group/Apache2/mod_perl/" SetHandler

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-01 Thread Stas Bekman
Jeff Ambrosino wrote: Actually, it looks like using APR::Error [1] and wrapping $f->print in an eval would do the trick...? That's correct, Jeff. eval and check for APR::Const::ECONNRESET as explained in [1] [1] http://perl.apache.org/docs/2.0/api/APR/Error.html Please report whether this did the

Re: advice needed: mod_perl reverse proxy

2005-05-01 Thread Stas Bekman
allan juul wrote: hi stas Stas Bekman wrote: allan juul wrote: [...] But if you use a mod_perl filter you will still hit the issue of unknown content-length header. yes, of course that's true. there goes caching (: Not really. Nothing prevents you from buffering up the response, process it, s

Re: compile mod_perl with Apache::DBI support

2005-05-01 Thread Stas Bekman
jiesheng zhang wrote: I am using the SuSE 9.1 which has apache 2.0 and mod_perl 1.99_12. I did not see any Apache::DBI debug information in the apache error log. jiesheng, please read the module's manpage: http://search.cpan.org/dist/Apache-DBI/DBI.pm To enable debugging the variable $Apache::DB

Re: compile mod_perl with Apache::DBI support

2005-05-01 Thread Jie Gao
On Mon, 2 May 2005, jiesheng zhang wrote: > Date: Mon, 02 May 2005 13:07:18 +0800 > From: jiesheng zhang <[EMAIL PROTECTED]> > To: modperl@perl.apache.org > Subject: compile mod_perl with Apache::DBI support > > I am using the SuSE 9.1 which has apache 2.0 and mod_perl 1.99_12. > I did not see

compile mod_perl with Apache::DBI support

2005-05-01 Thread jiesheng zhang
I am using the SuSE 9.1 which has apache 2.0 and mod_perl 1.99_12. I did not see any Apache::DBI debug information in the apache error log. I guessED the the mod_perl is not complied with the EVERYTHING=1 option. I then tried to compile the mod_perl to support Apache::DBI The perl configuration c

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-01 Thread Jeff Ambrosino
Actually, it looks like using APR::Error [1] and wrapping $f->print in an eval would do the trick...? Jeff [1] http://perl.apache.org/docs/2.0/api/APR/Error.html On 5/1/05, Jeff Ambrosino <[EMAIL PROTECTED]> wrote: > [Sun May 01 05:12:21 2005] [error] [client X.X.X.X] > Apache::Filter::print:

how to trap connection reset/abort in Apache::Filter?

2005-05-01 Thread Jeff Ambrosino
I've got an HTTP output filter running on mp2-RC4 + httpd2.0.54 + libapreq2-2.04_03-dev, and occasionally I see these messages in my error_log: [Sun May 01 05:12:21 2005] [error] [client X.X.X.X] Apache::Filter::print: (104)Connection reset by peer at /var/httpd/lib/perl/MyOutputFilter.pm line 453

[PATCH]Re: Apache::Test question

2005-05-01 Thread Torsten Foertsch
Hi, this is quite an old thread. But now I have found why it was not working. On Sunday 19 December 2004 23:34, Stas Bekman wrote: > Torsten Foertsch wrote: > > On Thursday 16 December 2004 17:28, Stas Bekman wrote: [...] > right, but the idea was to grep and jump to the code following it, which