LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] squid and virtual domains

[ILUG] squid and virtual domains

Vincent Cunniffe vcunniff at dogma.slashnull.org
Fri Apr 14 08:13:53 IST 2000


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell