Re: Compile Problems with perl-5.10.0

2008-01-07 Thread James Kosin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Kosin wrote: | + make 'OPTIMIZE=-O2 -g -pipe -march=i386 -mcpu=i686' | cd "src/modules/perl" && make | make[1]: Entering directory `/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/perl' | gcc -I/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/

Re: Compile Problems with perl-5.10.0

2008-01-07 Thread James Kosin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Kosin wrote: | + make 'OPTIMIZE=-O2 -g -pipe -march=i386 -mcpu=i686' | cd "src/modules/perl" && make | make[1]: Entering directory `/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/perl' | gcc -I/usr/src/redhat/BUILD/mod_perl-2.0.3/src/modules/

Re: PerlFixupHandler - %ENV

2008-01-07 Thread Anthony Gardner
col. thx for that. I'll have a play. merci. Geoffrey Young <[EMAIL PROTECTED]> wrote: Anthony Gardner wrote: > I'm trying to write a FixupHandler to clean up the query_string > before it gets to the response phase. Problem is, I can't. After > cleaning it up, I reassign to $ENV{QUERY_STRING

Re: PerlFixupHandler - %ENV

2008-01-07 Thread Geoffrey Young
Anthony Gardner wrote: I'm trying to write a FixupHandler to clean up the query_string before it gets to the response phase. Problem is, I can't. After cleaning it up, I reassign to $ENV{QUERY_STRING} but in the called response script, the original QUERY_STRING is present. I can add new keys t

Re: Un-baking a baked cookie

2008-01-07 Thread Rafael Caceres
Colin, At least with CGI.pm, what I do is 'bake' an empty cookie. That has the desired effect. Rafael Caceres On Fri, 2008-01-04 at 21:47 -0500, Colin Wetherbee wrote: > Good evening. > > Is it possible to un-bake a baked cookie? > > From the Apache2::Cookie documentation, bake() "adds a Set-Co

Re: two common questions

2008-01-07 Thread Michael Peters
lists user wrote: > 1. Do you run common web program under modperl handlers? or just run > them under Registry? > For me I mostly wrote web scripts with CGI methods like using CGI.pm > and CGI::Session, and run them under Modperl::Registry. > I don't know if there's a site which is fully run by pur

Re: two common questions

2008-01-07 Thread Adam Prime
lists user wrote: 1. Do you run common web program under modperl handlers? or just run them under Registry? For me I mostly wrote web scripts with CGI methods like using CGI.pm and CGI::Session, and run them under Modperl::Registry. I don't know if there's a site which is fully run by pure modper

PerlFixupHandler - %ENV

2008-01-07 Thread Anthony Gardner
I'm trying to write a FixupHandler to clean up the query_string before it gets to the response phase. Problem is, I can't. After cleaning it up, I reassign to $ENV{QUERY_STRING} but in the called response script, the original QUERY_STRING is present. I can add new keys to %ENV at the PerlFixupH

two common questions

2008-01-07 Thread lists user
1. Do you run common web program under modperl handlers? or just run them under Registry? For me I mostly wrote web scripts with CGI methods like using CGI.pm and CGI::Session, and run them under Modperl::Registry. I don't know if there's a site which is fully run by pure modperl handlers, not the

Re: Un-baking a baked cookie

2008-01-07 Thread Peter Haworth
On Sat, 05 Jan 2008 00:56:49 -0500, Colin Wetherbee wrote: > > On Jan 4, 2008 9:47 PM, Colin Wetherbee <[EMAIL PROTECTED]> > > wrote: > >> From the Apache2::Cookie documentation, bake() "adds a Set- > >> Cookie header to the outgoing headers table." Is there a way to > >> undo this without manua

Re: APR::SockAddr

2008-01-07 Thread Axel Huizinga
Philippe M. Chiasson schrieb: Axel Huizinga wrote: Hi, Suddenly on of my mod_perl handlers is broken with the following error: Can't locate object method "ip_get" via package "APR::SockAddr" at line: my $ip = $self->{r}->connection->remote_addr->ip_get; (temporary replaced by $ENV{'REMOTE