Christian J van den Bosch wrote:
>> Hi,
>> anybody have any experience of the following
>> two virtual domains hosted on one IP address by apache
>> if you attempt to view first one, then the other, through squid, any url
> paths you view in the second domain that correspond to ones you have
> viewed in the first domain are considered (apparently by squid) to be
> equivalent to ones in the first domain.
>> e.g.
>>http://www.tmc-technology.com>> and
>>http://www.twoweird.com>> both produce the same page when viewed behind a squid proxy
>> Any ideas on how to fix this?
I've never used squid, but I suspect that squid has been configured to
cache data by IP address, not by full address, so when two name-based
virtual domains resolve to the same IP, squid doesn't bother to
verify that the data is actually rhe same.
See if you can find a config switch to get squid to keep track of the
full hostname of the cached data.
Vin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!