Re: compile mod_perl with Apache::DBI support

2005-05-02 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

Re: advice needed: mod_perl reverse proxy

2005-05-02 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,

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

2005-05-02 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: Mod_perl upload problem

2005-05-02 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/ Location /mod_perl

Re: Apache2::Status bug?

2005-05-02 Thread Stas Bekman
Octavian Rasnita wrote: Hello, I have finished (I hope) installing mod_perl rc5 under Windows 2000, and I have tried the server using http://localhost/perl-status. I was able to use it very well, until I have tried to see the following links in order: Loaded Modules - Apache::Const -

Re: [mp2] modperl2 compile error

2005-05-02 Thread Marc Gràcia
I had some problems like this on my new x86_64 machine with mod_perl2, seems that not only perl must be compiled with -fPIC , also apache and all libraries or modules you plan to use. I think it's a general issue with this architecture, not mod_perl related. If not, there are runtime linking

PERL5LIB vs. httpd.conf

2005-05-02 Thread Jan Poslusny
Hi modperl gentlemen, I am newbie in this list, but I have some experience with mod_perl. I use apache 1.3 with statically linked mod_perl 1.29 on Fedora Core III, i386. Now I started development of Apache::MyModule from scratch. I don't want to install MyModule.pm into standard perl

Re: PERL5LIB vs. httpd.conf

2005-05-02 Thread Enno
Why not just do that in your modperl startup script? use lib '/usr/local/myproject/...'; Enno On Mon, 2 May 2005, Jan Poslusny wrote: Hi modperl gentlemen, I am newbie in this list, but I have some experience with mod_perl. I use apache 1.3 with statically linked mod_perl 1.29 on Fedora

Re: compile mod_perl with Apache::DBI support

2005-05-02 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. jiesheng, please read the module's manpage: http://search.cpan.org/dist/Apache-DBI/DBI.pm To enable debugging the variable $Apache::DBI::DEBUG must be

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

2005-05-02 Thread Jeff Ambrosino
Ok, I tried this approach, and it only partially worked; unfortunately my httpd procs are still dying, and APR::Error doesn't seem to pass anything. Here's the error I got _before_ wrapping $f-print in the eval: [Sun May 01 05:12:21 2005] [error] [client X.X.X.X] Apache::Filter::print:

libapreq2-2.05-dev-rc2 release candidate #2

2005-05-02 Thread Joe Schaefer
Please test and offer feedback on the second release candidate for libapreq2-2.05-dev. The changes since 2.04-dev are too numerous to list in this email, so please read the CHANGES file in the tarball at http://people.apache.org/~joes/libapreq2-2.05-dev-rc2.tar.gz Changes since rc1: -

an unknown filter was not added: apreq2

2005-05-02 Thread Octavian Rasnita
Hi, I have installed libapreq2 under Windows 2000 using ppm because I want to use Apache2::Request. I have tried a simple module: package Test::Module; use strict; use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::Const -compile = ':common'; use Apache2::Request (); sub

Re: [mp2] modperl2 compile error

2005-05-02 Thread Stas Bekman
Marc Gràcia wrote: I had some problems like this on my new x86_64 machine with mod_perl2, seems that not only perl must be compiled with -fPIC , also apache and all libraries or modules you plan to use. I think it's a general issue with this architecture, not mod_perl related. That's correct,

Re: Apache2::Status bug?

2005-05-02 Thread Stas Bekman
OpenMacNews wrote: hi, I get the same problem on linux/prefork mpm. fwiw, i'm seeing no such issues on osx 10.4/worker mpm. no errors, no suspect log entries, etc. Embedded Perl version v5.8.6 for Apache/2.1.5-dev process 21420 Server Version: Apache/2.1.5-dev (Unix) DAV/2 SVN/1.2.0-rc2

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

2005-05-02 Thread Stas Bekman
Jeff Ambrosino wrote: Ok, I tried this approach, and it only partially worked; unfortunately my httpd procs are still dying, and APR::Error doesn't seem to pass anything. Here's the error I got _before_ wrapping $f-print in the eval: [Sun May 01 05:12:21 2005] [error] [client X.X.X.X]

Re: Apache2::Status bug?

2005-05-02 Thread OpenMacNews
hi stas, although i'm relatively new to its use, /perl-status seems to behave w/ no obvious errors (so far). if there's any info i can provide that may be helpful, pls let me know. You need to enable: the terse feature and then follow: Loaded Modules - Apache::Const - Apache::Const::OK - Syntax

Re: an unknown filter was not added: apreq2

2005-05-02 Thread Randy Kobes
On Mon, 2 May 2005, Octavian Rasnita wrote: Hi, I have installed libapreq2 under Windows 2000 using ppm because I want to use Apache2::Request. I have tried a simple module: package Test::Module; use strict; use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::Const

Activating/decativating PerlOutputFilterHandler on-the-fly

2005-05-02 Thread Srebrenko Sehic
Hi ppl, I have a couple of PerlOutputFilterHandler directives registered in my httpd.conf VirtualHost conigurations. Is there any way to activate/deactivate these filters without editing httpd.conf and restarting Apache? I'm running Apache 2.0.54 with mod_perl2_RC5. TIA, // haver

Re: [mp2] modperl2 compile error

2005-05-02 Thread Tom Caldwell
Comments below. On Sat, 2005-04-30 at 01:25, Stas Bekman wrote: Tom Caldwell wrote: Stas, I forgot to mention that apache usually runs under a different account than nobody (I use - apache), in case that matters. Of course. In which case you need to check 'apache' instead of

Re: Apache::Session::Store::Postgres FOR UPDATE problems

2005-05-02 Thread Perrin Harkins
On Mon, 2005-05-02 at 15:08 -0700, Jeffrey W. Baker wrote: It is possible that the FOR UPDATE is spurious. It signals to the database system that this transaction intends to write that row. With PostgreSQL's MVCC transaction isolation system, it's probably not necessary and may be causing

Re: Activating/decativating PerlOutputFilterHandler on-the-fly

2005-05-02 Thread Jeff Ambrosino
From within an existing Perl handler/filter, you can dynamically insert ('register') a new filter with the add_output_filter method on the request object: $r-add_output_filter(\callback); And, you can remove a downstream filter (from within an upstream filter) with: $next_f = $f-next;

Re: Apache::Session::Store::Postgres FOR UPDATE problems [OT]

2005-05-02 Thread Michael Schout
Jeffrey W. Baker wrote: It is possible that the FOR UPDATE is spurious. It signals to the database system that this transaction intends to write that row. With PostgreSQL's MVCC transaction isolation system, it's probably not necessary and may be causing problems. It definately *is*

Apache::Upload problems (can't see upload info)

2005-05-02 Thread scott fagg
I'm trying to get apache::upload working. Module loads fine, produces no errors, but calls to 'upload' don't produce anything usable. For example, this snippet of code : use Apache::Request; use Apache::Upload; use Data::Dumper; $req = Apache::Request-new($r); $upload = $req-upload(); print

Re: [mp2] Problems with Apache::Request

2005-05-02 Thread Foo Ji-Haw
Let me see if I can answer this one. Your sample code does not use Apache::Request at all. by the way, in the latest release of modperl RC5, Apache::Request is now renamed to Apache2::Request. You probably can guess why. If you wish to use the Apache::Request object, you need to first load the

Re: libapreq2-2.05-dev-rc2 release candidate #2

2005-05-02 Thread Foo Ji-Haw
My thanks to the libapreq team for their time and effort on this. Much appreciated. Joe Schaefer wrote: Please test and offer feedback on the second release candidate for libapreq2-2.05-dev. The changes since 2.04-dev are too numerous to list in this email, so please read the CHANGES file in

Re: Apache::Upload problems (can't see upload info)

2005-05-02 Thread scott fagg
On Tue, 2005-05-03 at 11:47 +1000, scott fagg wrote: I'm trying to get apache::upload working. Module loads fine, produces no errors, but calls to 'upload' don't produce anything usable. For example, this snippet of code : use Apache::Request; use Apache::Upload; use Data::Dumper; $req

Re: libapreq2-2.05-dev-rc2 release candidate #2

2005-05-02 Thread Randy Kobes
On Mon, 2 May 2005, Joe Schaefer wrote: Please test and offer feedback on the second release candidate for libapreq2-2.05-dev. Builds and tests fine on Win32. I've put up a Win32 ppm package of this (libapreq2) at http://theoryx5.uwinnipeg.ca/ppms/ which requires the mod_perl ppm package

Re: [mp2] modperl2 compile error

2005-05-02 Thread Stas Bekman
[CC'ing the list back] Caldwell, Thomas S wrote: I recompiled mod_perl but I did not recompile Apache2, if that is what is meant by 'everything'. Hmm, that's a good question. I think you need Apache2 too. But they are distinct, right, so it shouldn't matter as long as Apache can incorporate the

svn commit: r165650 - /perl/modperl/trunk/Changes

2005-05-02 Thread geoff
Author: geoff Date: Mon May 2 10:50:16 2005 New Revision: 165650 URL: http://svn.apache.org/viewcvs?rev=165650view=rev Log: add missing release date for RC5 Modified: perl/modperl/trunk/Changes Modified: perl/modperl/trunk/Changes URL: