[SQU] Retricting IP's to specific WEB sites

From: Zackerov <[email protected]>
Date: Fri, 15 Dec 2000 12:52:29 +0100

Hi Squid Users :-)

I got a problem on SQUID 2.3 RedHat 6.2, i made a restriction to a specifice
IP just for a specific WEB site, i mad this in squid.conf

acl NAME src ipaddress
acl NAME-SITE dstdomain www.site.com
http_access allow NAME NAME-SITE

And it works, the site is a database it have some login and password
request (we have login and pass obviously) and this web site inside have
some links referred at an IP, so, when the allowed operator click on this
links, squid responce with access denied to:

http://194.123.123.123/word.jrun

i made a check on this site, and all the links are referred at the same IP
194.123.123.123

I tryed to put this IP in the acl line like so:
acl NAME-SITE www.site.com 194.123.123.123

But it doesn't work at all, also strange thing, if i try to make a host
lookup of:
194.123.123.123 the responce is "unknow"
but if i try to resolve www.site.come the responce is 194.123.123.123

Please, anyone can help me?
I need ti FIX this trouble very quickly
Thanx guys

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Dec 15 2000 - 04:54:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:58 MST