Re: Apache::PerlRun flooding error log

2005-04-05 Thread Stas Bekman
David J Radunz wrote: Well, all of these scripts run under PerlRun - so I either have to make that change in every one of them, and every module they load. Like, if I set the SIG{__WARN__} at the top of a script and a module set it, wouldn't it then be 'reset' ? Why would any module mungle with %SI

Re: Apache::PerlRun flooding error log

2005-04-05 Thread David J Radunz
Well, all of these scripts run under PerlRun - so I either have to make that change in every one of them, and every module they load. Like, if I set the SIG{__WARN__} at the top of a script and a module set it, wouldn't it then be 'reset' ? David On Wed, 2005-04-06 at 01:00 -0400, Stas Bekman wro

Re: Apache::PerlRun flooding error log

2005-04-05 Thread Stas Bekman
Stas Bekman wrote: David J Radunz wrote: Sounds great - yet obvious. I would have to do about 2 years worth of work to fix all of the bugs. I didn't create them either, I fix them in my own code - but we have so much code base. I wanted a mod_perl solution to overcome this issue by filtering the er

Re: Apache::PerlRun flooding error log

2005-04-05 Thread Stas Bekman
David J Radunz wrote: Sounds great - yet obvious. I would have to do about 2 years worth of work to fix all of the bugs. I didn't create them either, I fix them in my own code - but we have so much code base. I wanted a mod_perl solution to overcome this issue by filtering the error. If that's the

Re: Configuration for redundancy?

2005-04-05 Thread Dzuy Nguyen
I put the servers behind an LVS load balancer. LVS is an L4 load balancer, so all servers behind it must have identical functions and content. I use keepalive to monitor the servers and automatically takes it out of the load balancer if it goes down. When I add a new machine, just replicate i

Re: Apache::PerlRun flooding error log

2005-04-05 Thread David J Radunz
Sounds great - yet obvious. I would have to do about 2 years worth of work to fix all of the bugs. I didn't create them either, I fix them in my own code - but we have so much code base. I wanted a mod_perl solution to overcome this issue by filtering the error. DJ On Tue, 2005-04-05 at 22:06 -04

Re: Apache::PerlRun flooding error log

2005-04-05 Thread Stas Bekman
David J Radunz wrote: Heya All, I have an issue at the moment where if there is an error/warning in my PerlRun script/module then the error/warning is printed as well as the entire contents of the script being eval'ed. This only occurs when a string is evaled and Carp stack trace is on. David, w

Apache::PerlRun flooding error log

2005-04-05 Thread David J Radunz
Heya All, I have an issue at the moment where if there is an error/warning in my PerlRun script/module then the error/warning is printed as well as the entire contents of the script being eval'ed. This only occurs when a string is evaled and Carp stack trace is on. And this can be replicated eas

Re: How do I catch errors with Apache::Upload

2005-04-05 Thread jonathan vanasco
I can't seem to get that working, best as I try. Does anyone have other suggestions? My main problem right now, is that if I upload 'nothing', i get an error of the sort: can't find Content-Type header According to the mp1 docs/examples: $upload = $apr->upload('fieldname') if (!

Re: Configuration for redundancy?

2005-04-05 Thread jonathan vanasco
I'll second Zawodny's book. It's a quick read. http://www.bookpool.com/sm/0596003064 OT, A decent backup scheme mentioned in it is to run a slave on a separate machine, and then do all your backups off that (as you wont have to shut the main machine down, and it will resync up when bro

RE: Configuration for redundancy?

2005-04-05 Thread Perrin Harkins
On Tue, 2005-04-05 at 15:58 -0700, Goehring, Chuck, RCI - San Diego wrote: > > The MySQL folks say they do clustering. It's a bit different from just clustering an existing MySQL database. It involves using an entirely separate table type which is designed just for clustering. Suitable for some

RE: Configuration for redundancy?

2005-04-05 Thread Goehring, Chuck, RCI - San Diego
The MySQL folks say they do clustering. There are whitepapers at this link. http://www.mysql.com/products/cluster/ MySQL Cluster MySQL Cluster combines the world's most popular open source database with a fault tolerant database clustering architecture so you can deliver mission-critical data

Configuration for redundancy?

2005-04-05 Thread Chris
Greetings, We have developed a web application using mod_perl and MySQL. We chose the light Apache + mod_perl Apache + MySQL method. What we would like to be able to do is come up with a fully redundant setup of machines so that we can sell this package to company's, install it in their datace

Re: use Apache2

2005-04-05 Thread Tom Schindl
Hi, as you should have noticed all modules live now in the Apache2::-Namespace so there is no need any more for the Apache2.pm. The trunks have been merged on monday. Tom Leo wrote: Hi I updated my mod_perl 2.0 to the latest svn version. I had screwed with my perl intallation a bit beforehand

use Apache2

2005-04-05 Thread Leo
Hi I updated my mod_perl 2.0 to the latest svn version. I had screwed with my perl intallation a bit beforehand as well... I reinstalled mod_perl 2.0 doing: perl Makefile.PL MP_APXS=/... make && make test && make install Somehow I no longer have Apache2.pm around in /usr/lib/perl5/site_perl/5.8

Re: red hat mod_perl build problem

2005-04-05 Thread Tom Caldwell
Thanks, Tom, for the worldly advice. But, here is my situation. I am a single individual supporting 8+ Oracle research databases at Vanderbilt University Medical center using a modperl authorization system that I developed under modperl 1 and other perl scripts that run under the Registry module

Re: setting request_time (prot. handler)

2005-04-05 Thread Stas Bekman
Dintelmann, Peter wrote: The log phase can be invoked in a protocol handler using the run_log_transaction() method from Apache::HookRun. use Apache::Connection; use Apache::Const -compile => qw(OK); use Apache::RequestRec; use Apache::RequestUtil; use Apache::HookRun; sub ha

Re: AW: APR::BucketType bucket types?

2005-04-05 Thread Stas Bekman
Dintelmann, Peter wrote: -Ursprüngliche Nachricht- Von: Stas Bekman [mailto:[EMAIL PROTECTED] Gesendet: Montag, 4. April 2005 18:47 An: Dintelmann, Peter Cc: 'modperl@perl.apache.org' Betreff: Re: APR::BucketType bucket types? Dintelmann, Peter wrote: I am looking for a list of the bucket t

Re: [MP2] Using Apache::AuthCookie with $r->prev when login is a redirect to https

2005-04-05 Thread Barry Hoggard
On Apr 5, 2005, at 3:00 AM, Torsten Foertsch wrote: On Tuesday 05 April 2005 00:59, Barry Hoggard wrote: If I understood you properly you are redirecting the browser from a HTTP request to HTTPS. This involves browser interaction and is not an internal redirect. prev() however works only with inte

Re: [mp1] Apache::AuthDBI segfaults under Fedora Core 1?

2005-04-05 Thread Stas Bekman
John Callender wrote: On Apr 4, 2005, at 7:56 PM, Stas Bekman wrote: John Callender wrote: In moving some web sites from a server running Red Hat Linux release 7.3 (Valhalla) to one running Fedora Core release 1 (Yarrow), I'm finding that attempts to authenticate under mod_perl using Apache::Aut

setting request_time (prot. handler)

2005-04-05 Thread Dintelmann, Peter
The log phase can be invoked in a protocol handler using the run_log_transaction() method from Apache::HookRun. use Apache::Connection; use Apache::Const -compile => qw(OK); use Apache::RequestRec; use Apache::RequestUtil; use Apache::HookRun; sub handler { my $c = s

AW: APR::BucketType bucket types?

2005-04-05 Thread Dintelmann, Peter
> -Ursprüngliche Nachricht- > Von: Stas Bekman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 4. April 2005 18:47 > An: Dintelmann, Peter > Cc: 'modperl@perl.apache.org' > Betreff: Re: APR::BucketType bucket types? > > > Dintelmann, Peter wrote: > > I am looking for a list of the bucket ty

Re: [mp1] Apache::AuthDBI segfaults under Fedora Core 1?

2005-04-05 Thread John Callender
On Apr 4, 2005, at 7:56 PM, Stas Bekman wrote: John Callender wrote: In moving some web sites from a server running Red Hat Linux release 7.3 (Valhalla) to one running Fedora Core release 1 (Yarrow), I'm finding that attempts to authenticate under mod_perl using Apache::AuthDBI, which were worki

Re: Bug Report : problem with both_str_native_remove test and broken mod_perl.so

2005-04-05 Thread Torsten Foertsch
On Monday 04 April 2005 19:39, Fred Seibel wrote: > t/filter/both_str_native_remove.# Failed test 1 in > t/filter/both_str_native_remove.t at line 22 > # Failed test 2 in t/filter/both_str_native_remove.t at line 24 > t/filter/both_str_native_remove.FAILED tests 1-2 > Faile

Re: [MP2] Using Apache::AuthCookie with $r->prev when login is a redirect to https

2005-04-05 Thread Torsten Foertsch
On Tuesday 05 April 2005 00:59, Barry Hoggard wrote: > I have Apache::AuthCookie 3.06 working fine with just http under this > setup: > > httpd-2.0.53 > mod_perl-2.0.0-RC4 > > However, when I redirect to https for the login page, $r->prev is now > empty, so I don't have these values for my form: >