Hi, When mod_proxy fails to connect to a backend (ap_proxy_connect_backend) due to a timeout, or something else, and the connection is a standard proxy request (i.e. non-reverse) it returns a status code 404 (Not found). Is there any reason why we are not returning a 500 (Gateway Timeout) code ?
Quoting RFC 2616: 10.5.5 504 Gateway Timeout The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary server (e.g. DNS) it needed to access in attempting to complete the request. -- Davi Arnaut