You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sailaja Gadireddy <sa...@gmail.com> on 2014/04/08 07:53:44 UTC

Re: [users@httpd] How to create Custom Http Status code

Thank you..!

Could you please suggest the steps to  edit custom http status codes in
httpd.h and recompiling of apache.?

Thanks & Regards,
Sailaja.


On Fri, Mar 28, 2014 at 4:44 PM, Pete Houston <ph...@openstrike.co.uk> wrote:

> The HTTP status codes are defined in httpd.h, so you could just edit
> them there and recompile. However, I advise strongly against using
> custom HTTP status codes for what should hopefully be obvious reasons.
> Perhaps this is an XY problem?
>
> Pete
>
> On Fri, Mar 28, 2014 at 04:38:06PM +0530, Sailaja Gadireddy wrote:
> > We have a requirement to use custom Http status codes instead of using
> > default codes.
> >
> > Could you please let us know how we can implement this in apache.?
>
> --
> Openstrike - improving business through open source
> http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107
>