Please read the descriptions of the different ACL types there are in
Squid.
dstdomain only checks the servername, nothing else. But there are
several other ACL types which looks at other parts of the URL.
-- Henrik Nordstrom Squid hacker Eric Engen wrote: > > Can I deny access to the contents of specific directories on a domain > without denying the whole domain? Right now, I have the following entry in > my squid.conf: > > acl banned_url dstdomain "/usr/local/squid/banned_url.txt" > http_access deny banned_url > http_access allow all > > and the contents of banned_url.txt contains, in part, these lines: > .dragonballz.com > .saiyanisland.com > .goes.com > > The last entry is the one I want to block. I've tried putting the line > .goes.com/~dbzinfo, but that didn't seem to work. > > I'm running 2.3.STABLE4 on Linux (RedHat 6.2), and the squid machine feeds > to a parent machine (at the school district) that uses transparent proxying. > > Eric Engen > eengen@esu10.org > Platte Valley Academy > Shelton, Nebraska > http://www.plattevalley.org > > -- > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Sat Feb 24 2001 - 10:35:52 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:10 MST