You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by rfi from Rich Roth <rf...@on-the-net.com> on 1999/09/08 20:31:23 UTC

ErrorDocument use for mod_proxy

We are trying to have mod_proxy produce nicer error results, but all
the error messages in the proxy modules return HTTP_INTERNAL_SERVER_ERROR.

So, it is kosher to define additional error codes:
	HTTP_PROXY_HOST_NOT_FOUND	520
	HTTP_PROXY_OTHER_ERROR		521
	
Given unique error codes, it looks like ErrorDocument will do what is needed.
	
-- 
Later ...

Rich Roth --- On-the-Net

Direct:  Box 927, Northampton, MA 01061, Voice: 413-586-9668

Email: rich@on-the-net.com                     Url: http://www.on-the-net.com
   ~~~   www.i-depth.com lets you Add Instant Depth to your Website    ~~~
        ~~~  Adding depths to Web presences and Internet providers  ~~~~~