Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 1998 02:27:01 -0500 (EST)
From:      Jaime <jaime@snowmoon.com>
To:        Keith Anderson <keith@apcs.com.au>
Cc:        questions@FreeBSD.ORG
Subject:   Re: FreeBSD squid hotmail
Message-ID:  <Pine.BSF.4.05.9812230216570.14799-100000@darwin.snowmoon.com>
In-Reply-To: <XFMail.981223174437.keith@apcs.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Dec 1998, Keith Anderson wrote:
> I have a problem with hotmail on my system can some one point out what
> I can do to fix the problem
> 
> We run 3.0-RELEASE squid-novm-1.1.22 and Transproxy
> 
> I have in the squid.conf hierarchy_stoplist hotmail.com
> 
> everything works but hotmail
> 
> Any help would be great

	I have a section of my WAN which is behind a similar proxy
(FreeBSD 2.2.5 + Squid 1.1) and it does not have this problem.  I just
verified this by pulling up a Hotmail account's inbox.  Out stoplist line
reads:

hierarchy_stoplist cgi-bin ?

	The comments in the default /usr/local/etc/squid/squid.conf show
that this command only effects whether this instance of Squid will pull
from the cache of another instance or if it will pull the web page
directly, in and of itself.  On a hunch, I think that what you want is for
Hotmail's web pages to not cache, in order to preserve privacy.  If that's
the case, Squid 1.1's configuration file shows:

#  TAG: cache_stoplist
#       A list of words which, if found in a URL, cause the object to
#       immediately removed from the cache.  In other words, use this
#       to force certain objects to never be cached.  You may list this
#       option multiple times.
#
#       The default is to not cache URLs containing 'cgi-bin' or '?'.
#
cache_stoplist cgi-bin ?

	...and Squid 2.0's configuration file shows:

#  TAG: no_cache
#       A list of ACL elements which, if matched, cause the reply to
#       immediately removed from the cache.  In other words, use this
#       to force certain objects to never be cached.
#
#       You must use the word 'DENY' to indicate the ACL names which  should
#       NOT be cached.
#
#       There is no default.  We recommend you uncomment the following
#       two lines.
#
#acl QUERY urlpath_regex cgi-bin \?
#no_cache deny QUERY


	
	I'm fairly sure that the first command (cache_stoplist) will help
you and the second (no_cache) is only for 2.0.  Good luck.  Either way,
this advise is based on the idea that you're simply trying to prevent
caching of Hotmail pages.  FWIW, Hotmail uses a timeout system, so doing
this isn't necessary unless people are allowed to log onto the FreeBSD
box.

							Good luck,
							Jaime


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812230216570.14799-100000>