Problem with mod_proxy returning erroneous 404 errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have apache setup as a forwarding proxy server with mod_proxy.  I have an
issue though that when mod_proxy receives a connection refused from an
upstream server , instead of returning that connection refused error to the
client it is returning a 404 error instead.  Is there a way to configure
this to just return the connection refused?  And is there a reason behind
this default behavior?

If I attempt to access a server that does not exist I get a 502 error
returned as I would expect, but when it resolves the host and simply is
refused connection is when this appears to show up.

I really need the original error to be passed back through the proxy and not
rewritten as a 404 as I have squid setup behind the proxy to serve stale
content when the upstream server in question is down and currently it just
looks like I'm asking for a page that does not exist.

Thanks

Rob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux