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

From: Jacobson, Martin <MJacobson@dont-contact.us>
Date: Mon, 11 Jun 2007 19:03:13 -0000

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?

Example:
www.proxybox.com/cgi-bin/somescript.pl -> www.backend1.com/cgi-bin/script.pl
www.proxybox.com/index.html -> www.backend2.com/index.html

Martin Jacobson (Jake)
 
Received on Mon Jun 11 2007 - 13:03:20 MDT

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