my mistake - needed to return HTTP_MOVED_TEMPORARILY instead of OK (along
with Location: header set)

thanks all

On Sun, Nov 28, 2010 at 3:49 PM, <r...@tuxteam.de> wrote:

> On Sat, Nov 27, 2010 at 09:45:43PM -0700, Chris Kukuchka wrote:
> > On Nov 27, 2010, at 4:53 PM, Jodi Bosa <jodib...@gmail.com> wrote:
> >
> > > I must be missing something.  I cannot seem to set headers in a
> handler.  I
> > > am using the Location header thinking that it's the most obvious (I
> don't
> > > really care about redirecting - just using Location for easy
> debugging).
> > >
> >
> > r->err_headers_out is for setting headers to be returned by an error
> response. You are returning OK.
> >
> > Try setting r->headers_out instead.
>
> You mean like in line 4 of the OP's sample code?
>
> ;-)
>
>
>  Cheers, Ralf Mattes
> >
> > Chris Kukuchka
> > Sequoia Group, Inc.
> >
> >
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >
> > SIG Meetings: March 27, 2011 |  Conference : March 28-30, 2011 | The
> Peabody Orlando |
>

Reply via email to