Search squid archive

Re: Redirection by backend server

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

 



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@xxxxxxxxxxxxxxxxxxx>
Sent: Fri, January 5, 2007 6:38 pm
To: sameer.joshi@xxxxxxxxxxxx
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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"




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux