RE: mod_perl segfaults, can't start Apache

2012-06-25 Thread Josh Narins
I always like to start with strace and running the httpd in debug mode (one child) with -X. Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Fax: (212) 994-4260 Mobile: (917) 488-6248 jnar...@seniorbridge.com

Finding the object being DESTROY'ed

2012-06-13 Thread Josh Narins
e two copies I know about. This is, naturally enough, someone else's design. How can I figure out what has a reference to the object, when all I have, so far, is $self in DESTROY? Oh, and I know it isn't in pnotes. Josh Narins Director of Application Development SeniorBridge 845 Thir

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
pache2::Const -compile => 'OK'; sub handler { open my $fh,">>/tmp/PostReadRequest" or die "Nope: $!"; print $fh "pid: $$\n"; close $fh; return Apache2::Const::OK; } 1; Josh Narins Director of Application Development SeniorBridge

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
6 read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\16\3408=\0\0\0"..., 832) = 832 fstat(6, {st_mode=S_IFREG|0755, st_size=18152, ...}) = 0 mmap(0x3d38e0, 2105616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x3d38e0 mprotect(0x3d38e02000, 2093056, PROT_NONE) = 0 mm

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
> Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Mobile: (917) 488-6248 Fax: (212) 994-4260 jnar...@seniorbridge.com SeniorBridge Managing Complex Chronic Care http://www.seniorbridge.com SeniorBridge Statement

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
I need to set up virtual host error logs separately, and they just go to /dev/null without such configuration? Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Mobile: (917) 488-6248 Fax: (212) 994-4260 jnar...@senior

Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
built: Mar 7 2012 17:23:30 [Wed Apr 04 10:36:14 2012] [debug] prefork.c(1023): AcceptMutex: sysvsem (default: sysvsem) Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Fax: (212) 994-4260 Mobile: (917) 488-6248 jnar...@

RE: acces control via cookies for webdirectories

2012-03-14 Thread Josh Narins
This sounds like you want a PerlAuthenHandler for that. http://perl.apache.org/docs/2.0/user/handlers/http.html#HTTP_Request_Cycle_Phases > Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Mobile: (917) 488-6248

Apache::compat and new Perl

2012-03-07 Thread Josh Narins
Do I need mod_perl1 installed to get Apache::compat and mod_perl2 to work? mp2 will be using a different Perl, and I'd prefer not to install it if I don't have to. Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 99

RE: preloading modules and apache::dbi

2012-01-19 Thread Josh Narins
ppens to represent one DB transaction. Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Fax: (212) 994-4260 Mobile: (917) 488-6248 jnar...@seniorbridge.com seniorbridge.com<http://www.seniorbridge.c

RE: serve items in "lib" or "PATH" fashion

2012-01-17 Thread Josh Narins
> Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Mobile: (917) 488-6248 Fax: (212) 994-4260 jnar...@seniorbridge.com SeniorBridge Managing Complex Chronic Care http://www.seniorbridge.com SeniorBridge Statement

RE: Cannot retrieve empty keys from request using Apache2::Request.param

2012-01-03 Thread Josh Narins
} split "&", $a; > > print "a= $a\nb= $b\n"; This is not a good idea because of HTML entities and other legal uses of & in the text returned by ->param(); Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022

RE: Apache2::PerlSections $PerlConfig

2011-11-21 Thread Josh Narins
> From: phark...@gmail.com [mailto:phark...@gmail.com] On Behalf Of > Perrin Harkins > Sent: Friday, November 18, 2011 5:57 PM > To: Josh Narins > > On Fri, Nov 18, 2011 at 5:27 PM, Josh Narins > wrote: > > Thanks, Perrin, but the server isn't starting when I ge

RE: Apache2::PerlSections $PerlConfig

2011-11-18 Thread Josh Narins
> From: phark...@gmail.com [mailto:phark...@gmail.com] On Behalf Of Perrin > Harkins > Sent: Friday, November 18, 2011 3:41 PM > >> On Fri, Nov 18, 2011 at 3:20 PM, Josh Narins >> wrote: >> my $r = Apache2::RequestUtil->request; >> $r->add_con

Apache2::PerlSections $PerlConfig

2011-11-18 Thread Josh Narins
I simply cut and paste the template output into the httpd.conf, it works fine. Any suggestions how I can fix this? Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Fax: (212) 994-4260 Mobile: (917) 488-6248 jna

I swear, [idiots unsubscribe help request]

2006-08-22 Thread Josh Narins
I've sent a dozen messages to [EMAIL PROTECTED] I never get a response. I try, and try, and try again. Please help. Thanks in advance, Josh _ Got something to buy, sell or swap? Try Windows Live Expo ttp://clk.atdmt.com/MSN/go

Interrogating $r

2006-06-11 Thread Josh Narins
Dear mod_perl community. A while ago I listed a problem I had with mod_perl/apache (newest 1.x series).[1] I've still got this problem, and I am asking for help to debug the problem. [1] Is it possible for a handler to set up an internal_redirect or subrequest on a deferred basis? [2] Is it

Re: Phase/URL repeat

2005-12-15 Thread Josh Narins
From: "Philip M. Gollucci" <[EMAIL PROTECTED]> I haven't followed this whole thread, so I may be way off base here: If you're implementing a filter, you're filter handlers _will_ be called as many times as neccessary. You can account for multiple invocations or pass along information in $f->c

Re: Phase/URL repeat

2005-12-12 Thread Josh Narins
From: Jeremy Nixon <[EMAIL PROTECTED]> Josh Narins <[EMAIL PROTECTED]> wrote: >> Is it breaking anything? > > A fixup handler that says "if the url matches /baz/" then do a little work > here. That work ends up getting done twice (including, in just one in

Re: Phase/URL repeat

2005-12-12 Thread Josh Narins
From: Jeremy Nixon <[EMAIL PROTECTED]> Josh Narins <[EMAIL PROTECTED]> wrote: > I also tried /foo/bar/blah and tried this once (i.e. it tried /foo/bar, and > didn't end up trying simply /foo) Hmm, wait... you'd said that a request for /foo/bar resulted in the

Re: Phase/URL repeat

2005-12-10 Thread Josh Narins
From: Jeremy Nixon <[EMAIL PROTECTED]> Josh Narins <[EMAIL PROTECTED]> wrote: > As you suspected, everything in the second set returns 0 for > $r->is_initial_req(). > > However, I never call internal_redirect. > > What else might be doing it? > > To make s

Re: Phase/URL repeat

2005-12-09 Thread Josh Narins
From: Jeremy Nixon <[EMAIL PROTECTED]> Josh Narins <[EMAIL PROTECTED]> wrote: > PostReadRequest /foo/bar > Trans /foo/bar > HeaderParser /foo/bar > Access /foo/bar > Fixup /foo/bar > Trans /bar > HeaderParser /bar > Access /bar > Fixup /bar > Pe

Phase/URL repeat

2005-12-09 Thread Josh Narins
Access /bar Fixup /bar PerlHandler What is causing my server to restart at the Trans phase with the truncated URL? Thanks in advance, Josh Narins _ Express yourself instantly with MSN Messenger! Download today - it's FREE!

RE: Compilation Success

2005-10-20 Thread Josh Narins
In recent weeks and days some new versions of software has come out. I got the following to compile together fine, in case there should have been any doubt. perl 5.8.7 mm 1.4.0 openssl 0.9.8a apache 1.3.34 mod_ssl 2.8.25-1.3.34 mod_perl 1.29 On debian stable without backports, I should have

Compilation Success

2005-10-20 Thread Josh Narins
In recent weeks and days some new versions of software has come out. I got the following to compile together fine, in case there should have been any doubt. perl 5.8.7 mm 1.4.0 openssl 0.9.8a apache 1.3.34 mod_ssl 2.8.25-1.3.34 mod_perl 1.29 Ciao, Josh ___