httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgeny Shvidky <evg...@inovvia.com>
Subject RE: [users@httpd] How to set the http response code for an error message
Date Mon, 09 Apr 2012 14:05:38 GMT
Hi,

I want to generate a new HTTP error code.
I set in request->status a new opcode and I added in conf file next line " ErrorDocument
449 /449.html"
Error 449 is MS-ActiveSync protocol error.
But... I receive next error from Apache "Unsupported HTTP response code 449".

Thanks,
Evgeny

-----Original Message-----
From: Eric Covener [mailto:covener@gmail.com] 
Sent: Monday, April 09, 2012 4:12 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] How to set the http response code for an error message

On Mon, Apr 9, 2012 at 8:12 AM, Evgeny Shvidky <evgeny@inovvia.com> wrote:
> I have a custom error message that I set into the request by "ap_rputs"
> function.

set r->status to the status code and continue to return OK.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message