martin 98/02/03 08:50:23
Modified: src/modules/proxy proxy_util.c Log: Finally, the server signature for the most important case: Anonymous proxy error messages are just plain annoying. Now the proxy error messages can be server-signed as well Revision Changes Path 1.42 +7 -4 apache-1.3/src/modules/proxy/proxy_util.c Index: proxy_util.c =================================================================== RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_util.c,v retrieving revision 1.41 retrieving revision 1.42 diff -u -u -r1.41 -r1.42 --- proxy_util.c 1998/01/07 16:46:38 1.41 +++ proxy_util.c 1998/02/03 16:50:21 1.42 @@ -788,10 +788,13 @@ send_http_header(r); soft_timeout("proxy error", r); - rvputs(r, "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\015\012\ -<html><head><title>Proxy Error</title><head>\015\012<body><h1>Proxy Error\ -</h1>\015\012The proxy server could not handle this request.\ -\015\012<p>\015\012Reason: <b>", message, "</b>\015\012</body><html>\015\012", + rvputs(r, "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n" + "<html><head><title>Proxy Error</title><head>\n<body>" + "<h1>Proxy Error</h1>\n" + "The proxy server could not handle this request.\n<p>\n" + "Reason: <b>", message, "</b>\n", + psignature("<HR>\n", r), + "</body><html>\n", NULL); kill_timeout(r);