Re: [squid-users] Redirecting to different server based on URL pattern

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 12 Jun 2007 00:07:18 +0200

mån 2007-06-11 klockan 19:03 +0000 skrev Jacobson, Martin:
> I am running squid-2.5.12 stable and it is configured to pass every
> request on port 80 to some backend server without catching. I was
> wondering if I could configure squid to pass all URLs going
> to /cgi-bin/ to some server and all other URLs to a different backend
> server?

Sure, see cache_peer_access.

Note: Upgrade to 2.6 may be needed. Squid-2.5 do not have quite the same
flexibilities wrt configuring reverse proxying..

Regards
Henrik

Received on Mon Jun 11 2007 - 16:07:26 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT