Re: Un-baking a baked cookie

2008-01-04 Thread Colin Wetherbee
Perrin Harkins 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 manually editing the headers, preferably with Apache2::Cookie me

Re: Un-baking a baked cookie

2008-01-04 Thread Perrin Harkins
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 manually editing the headers, preferably with Apache2::Cookie > methods? Why don't

Re: resend: [mp2] bug report - heap management error in mod_perl on Windows

2008-01-04 Thread Randy Kobes
On Sun, 30 Dec 2007, Randy Kobes wrote: On Sat, 29 Dec 2007, Tom Donovan wrote: mod_perl re-defines "perl_free" as "free" in modperl_perl_includes.h:69. This causes an attempt to use the native Windows free() function to release memory which should be released by the perl_free() function loc

Un-baking a baked cookie

2008-01-04 Thread Colin Wetherbee
Good evening. Is it possible to un-bake a baked cookie? From the Apache2::Cookie documentation, bake() "adds a Set-Cookie header to the outgoing headers table." Is there a way to undo this without manually editing the headers, preferably with Apache2::Cookie methods? (As an aside, would so

Re: Compile Problems with perl-5.10.0

2008-01-04 Thread Fred Moyer
James Kosin wrote: -BEGIN PGP SIGNED MESSAGE- modperl_interp.c: In function `modperl_interp_unselect': modperl_interp.c:294: error: structure has no member named `xmg_magic' modperl_interp.c: In function `modperl_interp_select': modperl_interp.c:509: error: structure has no member named `

RE: print

2008-01-04 Thread Kate Yoak
Of course... I saw that - but it didn't sync in... Thanks! -Original Message- From: Michael Peters [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 1:37 PM To: Kate Yoak Cc: modperl@perl.apache.org Subject: Re: print Kate Yoak wrote: > I keep running into methods not implemented

Re: print

2008-01-04 Thread Michael Peters
Kate Yoak wrote: > I keep running into methods not implemented where documentation says > they are. Is it something about me or a common problem? One of the new features of mod_perl 2 is less memory usage by default. It does this by not loading some of those extra methods unless you ask for them.

print

2008-01-04 Thread Kate Yoak
I keep running into methods not implemented where documentation says they are. Is it something about me or a common problem? sub handler{ my $r = shift; $r->print("hello"); } fails with "Can't locate object method print via package Apache2::RequestRec" Apache2->request fails wit

Compile Problems with perl-5.10.0

2008-01-04 Thread James Kosin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm in the process of updating all my packages for perl; however, mod_perl 2.0.3 fails as follows: + cd mod_perl-2.0.3 + LANG=C + export LANG + unset DISPLAY + CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686 + /usr/bin/perl Makefile.PL PREFIX=/var/tmp/

Re: What dispatcher to use (Re: Correct way to send http status code 206 -Partial content?)

2008-01-04 Thread Perrin Harkins
On Jan 4, 2008 10:44 AM, Hemant Bist <[EMAIL PROTECTED]> wrote: > Is there some other dispatcher module I can use, instead of Registry*.pm > modules. There are hundreds of them: CGI::Application, Mason, Catalyst, etc. But why not write a handler? It's not difficult. If you want a very minimal di

What dispatcher to use (Re: Correct way to send http status code 206 -Partial content?)

2008-01-04 Thread Hemant Bist
Hi, I want to stop using registry script(the status_line hack does not work with the apache2/modperl that comes with Ubuntu-fiesty(, but works in Ubuntu-dapper.). Is there some other dispatcher module I can use, instead of Registry*.pm modules. The bug related to 206 seems to be in RegistryCooker.

mod_perl 2.0.3 + httpd trunk + access2.t fails: How to get 'Require' data with the httpd trunk implementation?

2008-01-04 Thread Rolf Banting
All, The access2.t test fails when mod_perl 2.0.3 is built against the httpd trunk. The core problem is that the test script needs the httpd ap_requires function; however the log shows that the ap_requires function has been removed from httpd: relocation error: /home/mmsadm/Projects/mod_perl-2.0