You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <co...@decus.org> on 1997/07/03 13:41:13 UTC
[PATCH] to change text of 404 message
Currently, the default 404 message is "File Not Found". I propose
that this be changed, since the URI may not refer to a file at all.
RFC2068 just says "not found," and is mute on what the referent may
be.
#ken :-)}
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_protocol.c,v
retrieving revision 1.131
diff -c -r1.131 http_protocol.c
*** http_protocol.c 1997/07/01 06:46:02 1.131
--- http_protocol.c 1997/07/03 11:36:51
***************
*** 973,979 ****
"401 Authorization Required",
"402 Payment Required",
"403 Forbidden",
! "404 File Not Found",
"405 Method Not Allowed",
"406 Not Acceptable",
"407 Proxy Authentication Required",
--- 973,979 ----
"401 Authorization Required",
"402 Payment Required",
"403 Forbidden",
! "404 Document Not Found",
"405 Method Not Allowed",
"406 Not Acceptable",
"407 Proxy Authentication Required",
Re: [PATCH] to change text of 404 message
Posted by Lars Eilebrecht <La...@unix-ag.org>.
According to Brian Behlendorf:
> Howabout "Resource not found"?
[...]
> >! "404 File Not Found",
[...]
> >! "404 Document Not Found",
RFC 2068 simply talks about 404 as "Not Found".
ciao...
--
Lars Eilebrecht
sfx@unix-ag.org
Re: [PATCH] to change text of 404 message
Posted by Brian Behlendorf <br...@organic.com>.
Howabout "Resource not found"?
Brian
At 07:41 AM 7/3/97 -0400, you wrote:
> Currently, the default 404 message is "File Not Found". I propose
> that this be changed, since the URI may not refer to a file at all.
> RFC2068 just says "not found," and is mute on what the referent may
> be.
>
> #ken :-)}
>
>Index: http_protocol.c
>===================================================================
>RCS file: /export/home/cvs/apache/src/http_protocol.c,v
>retrieving revision 1.131
>diff -c -r1.131 http_protocol.c
>*** http_protocol.c 1997/07/01 06:46:02 1.131
>--- http_protocol.c 1997/07/03 11:36:51
>***************
>*** 973,979 ****
> "401 Authorization Required",
> "402 Payment Required",
> "403 Forbidden",
>! "404 File Not Found",
> "405 Method Not Allowed",
> "406 Not Acceptable",
> "407 Proxy Authentication Required",
>--- 973,979 ----
> "401 Authorization Required",
> "402 Payment Required",
> "403 Forbidden",
>! "404 Document Not Found",
> "405 Method Not Allowed",
> "406 Not Acceptable",
> "407 Proxy Authentication Required",
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"Why not?" - TL brian@organic.com - hyperreal.org - apache.org