In example number one below you need to change the ACL a little bit.
Instead of
acl notosite dstdomain www.dontgotothissite.com
change it to this:
acl notosite dstdomain .dontgotothissite.com
Remember the "." Before the domain name. It will make a difference.
Hope this helps
-----Original Message-----
From: Jon Steel [mailto:jon.steel@southkent.ac.uk]
Sent: Tuesday, July 18, 2000 8:56 AM
To: squid
Subject: ACL & IP LISTS
Hello
I'm a newbie in using squid. I've installed squid without any problem and it
is running ready to serve.
I'm probably being greedy by asking two questions, but here goes anyway...
1. I am having trouble getting access control lists to work, I am trying to
block a specific site from being accessed with the following lines:
acl notosite dstdomain www.dontgototthissite.com
http_access deny notosite
and the site is still accessible. I am misinterpreting this command?
2. Is there any way of logging IP numbers of machines that access the cache,
and the sites they go to, e.g.
194.121.222.1 www.yahoo.co.uk
194.121.222.1 www.yahoo.com
194.121.222.1 www.excite.com
etc.
I apologise in advance if these have already been answered previously, but
any help that could be provided would be appreciated.
Received on Tue Jul 18 2000 - 09:01:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:33 MST