The following reply was made to PR mod_proxy/3455; it has been noted by GNATS.

From: Rick Beton <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc:  Subject: mod_proxy/3455: 500 Proxy Error raised too often
Date: Tue, 01 Dec 1998 10:12:05 +0000

 I have some additional information re #3455 which may be useful. I have
 found the following work-around is effective. It may form the basis for
 a full solution, I don't know.
 
 In main/http_protocol.c change lines 2365 onwards from
 
         case HTTP_SERVICE_UNAVAILABLE:
         ap_bputs("The server is temporarily unable to service your\n"
                      "request due to maintenance downtime or capacity\n"
 
                      "problems. Please try again later.\n", fd);
             break;
 
 to
 
         case HTTP_SERVICE_UNAVAILABLE:
         ap_bvputs(fd, "The server is temporarily unable to service
 your\n"
                      "request due to maintenance downtime or capacity\n"
 
                      "problems. Please try again later.\n<P>\n"
                      "If the problem persists, "
                  "please contact the server administrator,\n ",
                      ap_escape_html(r->pool, r->server->server_admin),
                      " for assistance.<P>\n", NULL);
             if ((error_notes = ap_table_get(r->notes, "error-notes")) !=
 NULL) {
                 ap_bvputs(fd, error_notes, "<P>\n", NULL);
             }
             break;
 
 
 This is in addition to the other change. In mod_proxy, proxy_util.c
 change line 843 ("return HTTP_INTERNAL_SERVER_ERROR")
 to "return HTTP_SERVICE_UNAVAILABLE"
 
 --
 Richard Beton B.Sc. C.Phys. M.Inst.P.
 Roke Manor Research Limited (http://www.roke.co.uk/)
 --------- Standard Disclaimer about my own views etc etc --------
 ---------  My mail client accepts rich text (HTML) mail  --------
 Welsh Highland Railway: http://www.whr.co.uk/WHR/WHR.html
 
 

Reply via email to