Re: [squid-users] Redirection by backend server

From: Sameer Joshi <[email protected]>
Date: Mon, 8 Jan 2007 13:46:34 +0530 (IST)

Trying to work 2 webservers behind Squid 2.6 stable 4 reverse proxy :

My (non-working) relevant config :

www.abc.com, www.xyz.com: These are urls given to users
1.2.3.4: actual ip address of the server www.abc.com or abc.mydomain.com
5.6.7.8: actual ip address of the server www.xyz.com or xyz.mydomain.com
1.1.1.1: ip address of the reverse proxy

**********************SQUID.CONF********************************************************

http_port 80 vhost

cache_peer www.abc.com parent 80 0 originserver
cache_peer www.xyz.com parent 80 0 originserver

**********************/ETC/HOSTS********************************************************
/etc/hosts contents:

1.2.3.4 www.abc.com
5.6.7.8 www.xyz.com
1.1.1.1 abc.mydomain.com
1.1.1.1 xyz.mydomain.com

-----Original Message-----
From: "Henrik Nordstrom" <henrik@henriknordstrom.net>
Sent: Fri, January 5, 2007 6:38 pm
To: sameer.joshi@paladion.net
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Redirection by backend server

fre 2007-01-05 klockan 15:54 +0530 skrev Sameer Joshi:

> In short: Server authenticating(which is configured on reverse proxy) is
> different than the server hosting mailboxes for users

Then you need to reverse-proxy both.. see the vhost and
cache_peer_access options.

Regards
Henrik

Sameer Joshi
Paladion Networks, India
Phone: 91-22-55910513
Fax: 91-22-55913580
Mobile:91-98191-86001

http://www.paladion.net

Disclaimer:
"This e-mail message may contain confidential or proprietary information.
Do not use it if you are not the original intended recipient. As e-mail
may be altered electronically, Paladion Networks cannot guarantee the
integrity of this communication. Before opening any attachments please
recheck them for viruses and defects"
Received on Mon Jan 08 2007 - 01:16:41 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST