Re: [squid-users] any ideas?

From: Li Xiang <[email protected]>
Date: Wed, 7 Aug 2002 09:36:43 +0800 (GMT-8)

Basically what you are talking about you need do in a mixed way. One
possible way is like this:

acl allowed dstdomain .xeniumcorp.net
acl deny-special dstdomain XXXX.xeniumcorp.net XXXX1.xeniumcorp.net ...
http_access deny deny-special
http_access allow allowed

for the special client, just insert one line before the http_access deny,
like
http_access allow special host

One thing you need be sure is the order of the deny and allow line.

Good luck,

Li Xiang
Department of Computer Science
National University of Singapore
Singapore 119260
Tel. 8744362/8744541

On Tue, 6 Aug 2002 xenium@sbcglobal.net wrote:

> Hi all,
>
> I currently have an acl line that reads:
>
> acl allowed dstdomain .xeniumcorp.net
>
> Now I want to change it, so that not everything that ends in .xeniumcorp.net
> is accessible, do I do this, by specifying which ones are accessible? ie:
> acl allowed dstdomain corp.xeniumcorp.net
>
> Also, I have a specific one, (time.xeniumcorp.net) that I only want to be
> allowed from 192.168.0.50, I assume I just make another name, and specify
> that only 192.168.0.50 has access to it?
>
> Thanks,
>
> Chris
>
>
Received on Tue Aug 06 2002 - 19:36:55 MDT

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