Re: Problem with RequestRec and Headers

2007-09-22 Thread André Warnier
jk jk wrote: [..] my $r = shift; One of the brighter lights on this list correct me if I'm wrong, but I think there's some basic confusion here. This is a cgi-bin script, it is not an Apache/mod_perl module executed as a mod_perl handler. Thus it does not get a "request object" as argument

[OT] Client authentication

2007-09-22 Thread Bill Moseley
This isn't mod_perl related, but I'm hoping someone here has experience in this area and can provide some feedback. Recommendation of a better list for this question is also welcome. I have a mod_perl/SOAP::Lite server application where I need to authenticate the connecting clients. The clients a

Re: Problem with RequestRec and Headers

2007-09-22 Thread jk jk
As a Registry script, it does get it. I've made sure of that by using Data::Dumper to take a look. Thanks. --JAK On 9/22/07, André Warnier <[EMAIL PROTECTED]> wrote: > > jk jk wrote: > [..] > >> my $r = shift; > > One of the brighter lights on this list correct me if I'm wrong, but I > think the

Re: re-post : duplicate sockets with mp2, apache2, linux

2007-09-22 Thread André Warnier
-- solved -- My thanks, but also my deepest apologies to anyone who bothered spending time considering this post and its predecessor. There is no voodoo and no problem with duplicate sockets or connections, at least not in Apache2 or mod_perl2. The problem was not in the code of my PerlAuth

Re: Problem with RequestRec and Headers

2007-09-22 Thread Perrin Harkins
On 9/21/07, jk jk <[EMAIL PROTECTED]> wrote: > sub printme{ > > my ( $self, $args ) = @_; > > my $r = Apache2::RequestUtil->request; > > $self->{r}->content_type('text/html'); > > print "A Page of Rendered HTML\n"; > } You ask for $r from Apache2::RequestUtil here, but then you don

Re: +ParseHeaders random corruption

2007-09-22 Thread Perrin Harkins
On 9/21/07, Mark Farver <[EMAIL PROTECTED]> wrote: > Searching my harddrive, those strings appear in the mysql driver but we've > seen chunks of the gpl, and other weird random data in those errors. It > almost looks like a wild pointer. Maybe some kind of threading issue? Are you running the pr

Re: Problem with RequestRec and Headers

2007-09-22 Thread jk jk
Welp, changing over to ModPerl::RegistryPrefork did the trick. Thanks for the advice. I really appreciate it. --JAK On 9/22/07, jk jk <[EMAIL PROTECTED]> wrote: > > My question would then be, in which situation would I be using an old one > on a later request? I suspect this may be the case, s

Re: +ParseHeaders random corruption

2007-09-22 Thread Mark Farver
Perrin Harkins wrote: On 9/21/07, Mark Farver <[EMAIL PROTECTED]> wrote: Searching my harddrive, those strings appear in the mysql driver but we've seen chunks of the gpl, and other weird random data in those errors. It almost looks like a wild pointer. Maybe some kind of threading is

Re: Problem with RequestRec and Headers

2007-09-22 Thread jk jk
I spoke too soon. While the header issue appears to be resolved, a new one has surfaced. The first 20 or so reloads (the number of spare servers?) are ok, but after that nothing loads in the browser and the error pasted below appears in the error_log. Any ideas? Thanks. --JAK

Re: Downloading SpreadSheet Data with Apache

2007-09-22 Thread Issac Goldstand
Make sure that you set a TimeOut in httpd.conf greater than your script's delay: http://httpd.apache.org/docs/2.2/mod/core.html#timeout Issac Tyler Bird wrote: Michael Peters wrote: Tyler Bird wrote: I run this script and the log files show the incrementing numbers in the for loop, but