Re: Modifying the Apache Log Entry

2007-01-10 Thread Fred Moyer
On Wed, 10 Jan 2007, Alden DoRosario wrote: > opening up $r->request_line() is probably acceptable. Regarding this issue (and the follow on responses to it), my vote would go to making it writable again. Having old code work is huge for grunts like me. The approach above seems to have solved the

Re: Modifying the Apache Log Entry

2007-01-10 Thread Alden DoRosario
> the typical way to do this is to add something to $r->notes and use the %{Foobar}n Woohoo .. rock on .. this worked. For posterity, here is what worked: 1) Add a note in the modperl code with the variable to be logged sub append_to_log {   my ($r, $plog) = @_;   $r->notes->set('SYSINFO' =

Re: Anyone using CGI::Simple?

2007-01-10 Thread Perrin Harkins
On Wed, 2007-01-10 at 14:12 +, Andy Armstrong wrote: > It turns out the main bugs he's referring to are: > > http://rt.cpan.org/Ticket/Display.html?id=23519 "new modperl breaks > API again" > http://rt.cpan.org/Ticket/Display.html?id=11896 "parameters missing > with latest mod_perl" Maybe

Re: Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
On 10 Jan 2007, at 17:58, Randy Kobes wrote: I started here because the bugs related to it not working with mod_perl. So I figured I'd, you know, ask mod_perl people :) One place to perhaps start is the mod_perl tests. In particular, one could switch the t/modules/cgi*.t tests (and correspondi

Re: Anyone using CGI::Simple?

2007-01-10 Thread Randy Kobes
On Wed, 10 Jan 2007, Andy Armstrong wrote: On 10 Jan 2007, at 17:13, Michael Peters wrote: Andy Armstrong wrote: Part of my reason for posting is to try and work out whether anyone's actually using it. I'd say the user's of it on this list would be pretty small. But I've heard it's popular

Re: Modifying the Apache Log Entry

2007-01-10 Thread Geoffrey Young
>>>connection, canonical_filename, header_only, main, next, prev, >>>pool, per_dir_config, request_config, proto_num, protocol, >>>request_time, server, the_request, unparsed_uri >> >> >> opening up $r->request_line() is probably acceptable. I'd also consider >> protocol and maybe pro

Re: Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
On 10 Jan 2007, at 17:13, Michael Peters wrote: Andy Armstrong wrote: Part of my reason for posting is to try and work out whether anyone's actually using it. I'd say the user's of it on this list would be pretty small. But I've heard it's popular for normal CGI folks and people using FCGI

Re: Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
On 10 Jan 2007, at 17:05, Randal L. Schwartz wrote: Why would anyone use this instead of CGI.pm? If you expect me to justify it you've got the wrong guy Randal :) Ovid reckons people use it so I pitched in to try and fix it. The code is quite nasty in places - but I'll fix it if people like

Re: Modifying the Apache Log Entry

2007-01-10 Thread Fred Moyer
Geoffrey Young wrote: Alternatively: Can the_request in Apache::RequestRec be made writable again so that it works like before ? From: http://search.cpan.org/dist/mod_perl/Changes Apache::RequestRec methods changes [Stas] - readwrite => readonly: connection, canonical_filename, header_only

Re: Anyone using CGI::Simple?

2007-01-10 Thread Randal L. Schwartz
> "Andy" == Andy Armstrong <[EMAIL PROTECTED]> writes: >> Has anyone heard from James Freeman, the maintainer of CGI::Simple >> (http://search.cpan.org/dist/Cgi-Simple/)? It's not been updated in a >> couple of years, the outstanding bugs appear to mostly be related to >> the same issue, and

Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, On the Perl Modules Authors list yesterday Ovid wrote: Has anyone heard from James Freeman, the maintainer of CGI::Simple (http://search.cpan.org/dist/Cgi-Simple/)? It's not been updated in a couple of years, the outstanding bugs appear