Re: limit proxy server to specified domains

From: Duane Wessels <wessels>
Date: Tue, 12 Nov 96 15:40:30 -0800

Steve.Green@its.csiro.au writes:

>> how do you configure squid to give _domains i specify_ access to the proxy
>> server? only the domains i listed have access to the proxy server.
>
>Francis,
>
>I'm trying to do exactly that - without much success.
>
>This is what I've tried so far:
>
>acl csiro srcdomain csiro.au
>acl peers src gruvel.une.edu.au/32
>acl all src 0.0.0.0/0
>
>http_access allow csiro peers
>http_access deny all
>
>icp_access allow csiro peers
>icp_access deny all
>
>But this doesn't seem to work. I don't know why!?

Because the 'src' ACL type takes IP addresses, not domain names.

If you don't want to use IP addresses, then try the 'srcdomain'
ACL type.

Duane W.
Received on Tue Nov 12 1996 - 15:40:31 MST

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