httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@nueva.pvt.k12.ca.us>
Subject A complaint
Date Tue, 22 Oct 1996 04:26:33 GMT
I was just playing with the latest 1.2-dev, and I notice that Roy's
new error-code code has taken Apache one step backwards: Namely, that
we've apparently reverted to putting the status code in the HTML that
we send by default. I most certainly do not want to see "404 File Not
Found" as the title of error message. The browser may care, but the
user most certainly does not. The "File Not Found" we've used for
Apache since 0.8 is much better (the same applies to all the other
codes).

I'd be much happier with the following patch:

Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_protocol.c,v
retrieving revision 1.61
diff -c -r1.61 http_protocol.c
*** http_protocol.c	1996/10/20 20:45:50	1.61
--- http_protocol.c	1996/10/22 04:25:54
***************
*** 1376,1382 ****
            r = r->prev;
      }
      {
! 	char *title = status_lines[idx];
  	BUFF *fd = c->client;
  	
          bvputs(fd,"<HEAD><TITLE>", title, "</TITLE></HEAD>\n<BODY><H1>",
title,
--- 1376,1382 ----
            r = r->prev;
      }
      {
! 	char *title = 4 + status_lines[idx];
  	BUFF *fd = c->client;
  	
          bvputs(fd,"<HEAD><TITLE>", title, "</TITLE></HEAD>\n<BODY><H1>",
title,


-- 
________________________________________________________________________
Alexei Kosut <akosut@nueva.pvt.k12.ca.us>      The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/   http://www.apache.org/



Mime
View raw message