Re: mod_perl for Koha Library System

2005-09-07 Thread Geoffrey Young
and 3.07 is the most recent that handles the >> latest mod_perl API changes. > > Since when, ... I thought it was 3.08 and some other stuff was fixed in > 3.10. oops :) > > Also, 3.11 is out :) which is why I was a bit lazy about checking my versions :0 --Geoff

Re: mod_perl for Koha Library System

2005-09-07 Thread Philip M. Gollucci
Geoffrey Young wrote: Philip M. Gollucci wrote: this feels like the start of a chunked response. something is awry with the buffering in the response... or somesuch IIRC :) For reference the relevant code is: $query is a CGI.pm object ah! make sure that CGI.pm is a recent version, then

Re: mod_perl for Koha Library System

2005-09-07 Thread Geoffrey Young
Philip M. Gollucci wrote: >> this feels like the start of a chunked response. something is awry >> with the >> buffering in the response... or somesuch IIRC :) > > For reference the relevant code is: $query is a CGI.pm object ah! make sure that CGI.pm is a recent version, then - versions less

Re: mod_perl for Koha Library System

2005-09-07 Thread Philip M. Gollucci
this feels like the start of a chunked response. something is awry with the buffering in the response... or somesuch IIRC :) For reference the relevant code is: $query is a CGI.pm object sub guesscharset ($) { my($html) = @_; my $charset = undef; local($`, $&, $', $1, $2, $3); #

Re: mod_perl for Koha Library System

2005-09-07 Thread Geoffrey Young
Joshua Ferraro wrote: > Perrin et al, > > Thanks for the help thusfar. I upgraded MP2 to 2.0.1 from source. > I'm still getting the same problems with statuses not working > and header errors. Here's a snip from the log: > > [Tue Sep 06 17:10:34 2005] [error] [client 192.168.2.59] malformed he

Re: mod_perl for Koha Library System

2005-09-06 Thread Philip M. Gollucci
Joshua Ferraro wrote: I'll hunt down Geoff's emails and check the headers again, though I suspect that the problem is Koha-related rather than a problem with mod_perl. If thats indeed the problem, you could always add print "Content-Type: text/html\n\n"; near the top of that cgi. -- END --

Re: mod_perl for Koha Library System

2005-09-06 Thread Joshua Ferraro
Perrin et al, Thanks for the help thusfar. I upgraded MP2 to 2.0.1 from source. I'm still getting the same problems with statuses not working and header errors. Here's a snip from the log: [Tue Sep 06 17:10:12 2005] [error] [client 192.168.2.59] malformed header from script. Bad header=40069: ci

Re: mod_perl for Koha Library System

2005-09-06 Thread Perrin Harkins
On Tue, 2005-09-06 at 12:40 -0700, Joshua Ferraro wrote: > > GET /path HTTP/1.0\n\n > > And look > Hmm ... unfortunately this won't work as there's a whole > authentication framework to get past ... Unless you're using SSL, it will work fine. You'd have to learn what to type in though. It's easi

Re: mod_perl for Koha Library System

2005-09-06 Thread Philip M. Gollucci
Joshua Ferraro wrote: Yep I read the link. However, I think the only code I'll need to change will be the mod_perl_startup.pl that I call from my conf file (as well as some lines in the conf file) as I didn't really add any mod_perl specific code to Koha. Does this sound right? Very possibly yes

Re: mod_perl for Koha Library System

2005-09-06 Thread Joshua Ferraro
On Tue, Sep 06, 2005 at 03:43:55PM -0400, Philip M. Gollucci wrote: > Probably, You did read that link right, you'll have to modify code when you > update. Yep I read the link. However, I think the only code I'll need to change will be the mod_perl_startup.pl that I call from my conf file (as well

Re: mod_perl for Koha Library System

2005-09-06 Thread Philip M. Gollucci
Joshua Ferraro wrote: Hmm ... unfortunately this won't work as there's a whole authentication framework to get past ... any other suggestions? ;-) You might try LWP or just looking through the code. my OS package management system reports that I'm running mod_perl 1.99_16-3 (running Fedora Cor

Re: mod_perl for Koha Library System

2005-09-06 Thread Joshua Ferraro
On Tue, Sep 06, 2005 at 03:09:21PM -0400, Philip M. Gollucci wrote: > Joshua Ferraro wrote: > >turned on already. How do I check if a header's getting sent > The easiest is just telnet localhost 80 > GET /path HTTP/1.0\n\n > And look Hmm ... unfortunately this won't work as there's a whole authent

Re: mod_perl for Koha Library System

2005-09-06 Thread Philip M. Gollucci
Joshua Ferraro wrote: turned on already. How do I check if a header's getting sent The easiest is just telnet localhost 80 GET /path HTTP/1.0\n\n And look use Apache2 (); Ew... your mp2 is way old. You should update, http://perl.apache.org/docs/2.0/rename.html -- END --

Re: mod_perl for Koha Library System

2005-09-06 Thread Joshua Ferraro
Hi Philip, Thanks for the speedy response. I belive I've got +ParseHeaders turned on already. How do I check if a header's getting sent (note that the log message complains that one isn't: [Tue Sep 06 14:51:59 2005] [error] [client 192.168.3.50] malformed header from script. Bad header=31583: cir

Re: mod_perl for Koha Library System

2005-09-06 Thread Philip M. Gollucci
[Tue Sep 06 13:42:09 2005] [error] [client 192.168.2.111] malformed header from script. Bad header=22994: circulation.pl, referer: /cgi-bin/koha/circ/circulation.pl [Tue Sep 06 13:42:09 2005] [warn] /cgi-bin/koha/circ/circulation.pl did not send an HTTP header I assume this is running under Mo

mod_perl for Koha Library System

2005-09-06 Thread Joshua Ferraro
Hi all, I'm in the process of testing Koha (http://koha.org) with mod_perl and I'm running into a couple of snags. I get the following errors in the logs: [Tue Sep 06 13:42:09 2005] [error] [client 192.168.2.111] malformed header from script. Bad header=22994: circulation.pl, referer: /cgi-bin