[SOLVED] Squid 3.1.12 to connect to multiple domains.
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am using squid 3.1.12 as a proxy cache. All the requests initially land on a Apache server which acts as a reverse proxy server, the Apache redirects some URLs based on the context to Squid server.
This Squid server based on the URL needs to forward the request to the specific tomcat server where the application is deployed. I am able to configure just for one application but how do I configure multiple tomcat servers(each tomcat having different application deployed on it). Squid needs to redirect based on the URL.
Here Squid is deployed on my host webfe.dev2.xxx.com, Apache redirects any URLS with the context 'ABC' or 'DEF' to squid. Squid needs to redirect it to the individual hosts thats abc.dev2.xxx.com or def.dev2.xxx.com based on the URL.
I have commented the entry for DEF in my squid.conf as it was not working. But it does work for any URLs with ABC as the context. Any hints or help would be highly appreciated.
Did anyone try something similar with Squid as a reverse proxy to connect to multiple domains based on the URLs ?
Last edited by prashantbs; 05-23-2011 at 01:09 PM.