httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jodi Bosa <jodib...@gmail.com>
Subject Re: Location header in Handler
Date Sun, 28 Nov 2010 17:50:27 GMT
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, <rm@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 <jodibosa@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 |
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message