RE: mod_perl2 handler headache

2007-04-02 Thread Adam Prime x443
rning DECLINED i think. Adam -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 12:29 PM To: Adam Prime x443 Cc: foobar; modperl@perl.apache.org Subject: Re: mod_perl2 handler headache On 4/2/07, Adam Prime x443 <[EMAIL PROTECTED]> wro

Re: mod_perl2 handler headache

2007-04-02 Thread Perrin Harkins
On 4/2/07, Adam Prime x443 <[EMAIL PROTECTED]> wrote: you want: sub handler { my $r = shift; my $uri = $r->uri; return DECLINED if $url =~ /^\/gallery; # not a gallery request... do some stuff and return an XML document } I don't think it's that simple. He must have already

RE: mod_perl2 handler headache

2007-04-02 Thread foobar
Adam Prime x443 wrote: > > > That looks ok to me. Is there a ResponseHandler as well for the > gallery, or just the AccessHandler? > > The symptoms you're describing seem like OK is getting returned when no > content has been printed. Do you know if headers are even getting sent > with these

RE: mod_perl2 handler headache

2007-04-02 Thread Adam Prime x443
ssage- From: foobar [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 11:00 AM To: modperl@perl.apache.org Subject: Re: mod_perl2 handler headache Perrin Harkins-3 wrote: > > On 4/2/07, foobar <[EMAIL PROTECTED]> wrote: >> I'm not sure if this is a configuration

RE: mod_perl2 handler headache

2007-04-02 Thread Adam Prime x443
To: modperl@perl.apache.org Subject: RE: mod_perl2 handler headache Adam Prime x443 wrote: > > > That looks ok to me. Is there a ResponseHandler as well for the > gallery, or just the AccessHandler? > > The symptoms you're describing seem like OK is getting returned

Re: mod_perl2 handler headache

2007-04-02 Thread foobar
Perrin Harkins-3 wrote: > > On 4/2/07, foobar <[EMAIL PROTECTED]> wrote: >> I'm not sure if this is a configuration problem or a design fault. I can >> see >> that both handlers are called but why my image file length is zero bytes >> is >> beyond me. > > Sounds like a problem in the access ha

Re: mod_perl2 handler headache

2007-04-02 Thread Perrin Harkins
On 4/2/07, foobar <[EMAIL PROTECTED]> wrote: I'm not sure if this is a configuration problem or a design fault. I can see that both handlers are called but why my image file length is zero bytes is beyond me. Sounds like a problem in the access handler code. Can you show it to us? - Perrin