You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Peter Beardsley <pb...@appropriatesolutions.com> on 2002/02/04 19:35:31 UTC

response code under Apache::Registry?

This is kind of a bizarre question, but I was wondering if it was 
technically possible to set the response code of a script running under 
Apache::Registry.  The way I usually see it being set is the return value 
of the handler routine, but is there any way to set it?


Peter Beardsley
Appropriate Solutions, Inc.
pbeardsley@appropriatesolutions.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: response code under Apache::Registry?

Posted by Hasanuddin Tamir <sa...@trabas.com>.
Headers set via err_headers_out only sent out if the status is kind of
error.

-- 
san->http(www.trabas.com)

On Tue, 5 Feb 2002, Martin Haase-Thomas <mh...@meome-ag.de> wrote,

> Hi Peter,
> -:)
> you're right: it is a bizarre question! At least I can't see any reason
> for setting elsewhere but via the handler's return. Perhaps there is a
> possibility via '$r->err_headers_out()', but if you send error headers,
> what sense would an 'OK' mean?
>
> cu
> Martin
>
> Peter Beardsley wrote:
>
> > This is kind of a bizarre question, but I was wondering if it was
> > technically possible to set the response code of a script running
> > under Apache::Registry.  The way I usually see it being set is the
> > return value of the handler routine, but is there any way to set it?
> >
> >
> > Peter Beardsley
> > Appropriate Solutions, Inc.
> > pbeardsley@appropriatesolutions.com
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: response code under Apache::Registry?

Posted by Martin Haase-Thomas <mh...@meome-ag.de>.
Hi Peter,
-:)
you're right: it is a bizarre question! At least I can't see any reason 
for setting elsewhere but via the handler's return. Perhaps there is a 
possibility via '$r->err_headers_out()', but if you send error headers, 
what sense would an 'OK' mean?

cu
Martin

Peter Beardsley wrote:

> This is kind of a bizarre question, but I was wondering if it was 
> technically possible to set the response code of a script running 
> under Apache::Registry.  The way I usually see it being set is the 
> return value of the handler routine, but is there any way to set it?
>
>
> Peter Beardsley
> Appropriate Solutions, Inc.
> pbeardsley@appropriatesolutions.com
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org