Search squid archive

Re: Redirection by backend server

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

 



www.abc.com :Is the url given to users to access the server from internet
(this is not configured on webserver. its only in squid.conf)

abc.mydomain.com: actual server domain name (this url i use when i access
the webserver internally)


Sameer Joshi

-----Original Message-----
From: "Henrik Nordstrom" <henrik@xxxxxxxxxxxxxxxxxxx>
Sent: Mon, January 8, 2007 6:38 pm
To: sameer.joshi@xxxxxxxxxxxx
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Redirection by backend server

mån 2007-01-08 klockan 17:23 +0530 skrev Sameer Joshi:
> I also tried:
>
> Replacing 'cache_peer www.abc.com parent 80 0 originserver', by
> cache_peer 1.2.3.4 parent 80 0 originserver www.abc.com
> cache_peer 5.6.7.8 parent 80 0 originserver www.xyz.com
>
> Result is that for both www.abc.com and www.xyz.com, i m served with
> www.abc.com

Did you also adjust cache_peer_access accordingly?


cache_peer 1.2.3.4 parent 80 0 originserver name=abc
acl abc_domain dstdomain abc.mydomain.com .abc.com
cache_peer_access abc alloc abc_domain

cache_peer 5.6.7.8 parent 80 0 originserver name=xyz
acl xyz_domain dstdomain xyz.mydomain.com .xyz.com
cache_peer_access xyz allow xyz_domain


Not sure what the abc.mydomain.com vs www.abc.com split is about.. what
Squid cares about is the domain requiested in the URL.

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