dgaudet 98/03/16 00:40:56
Modified: src/modules/standard mod_status.c
Log:
501 is reserved for when the server cannot support the request for any
resource. 500 is the right response here.
Revision Changes Path
1.80 +1 -1 apache-1.3/src/modules/standard/mod_status.c
Index: mod_status.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_status.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- mod_status.c 1998/03/15 08:01:49 1.79
+++ mod_status.c 1998/03/16 08:40:56 1.80
@@ -243,7 +243,7 @@
if (!exists_scoreboard_image()) {
aplog_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r->server,
"Server status unavailable in inetd mode");
- return HTTP_NOT_IMPLEMENTED;
+ return HTTP_INTERNAL_SERVER_ERROR;
}
r->allowed = (1 << M_GET);
if (r->method_number != M_GET)