O sa citez din squid FAQ de la squid de pe site:
10.4 How do I implement an ACL ban list? 
As an example, we will assume that you would like to prevent users from
accessing cooking recipes. 
One way to implement this would be to deny access to any URLs that contain
the words ``cooking'' 
or ``recipe.'' You would use these configuration lines: 
        acl Cooking1 url_regex cooking
        acl Recipe1 url_regex recipe
        http_access deny Cooking1
        http_access deny Recipe1
        http_access allow all
The url_regex means to search the entire URL for the regular expression you
specify.
 Note that these regular expressions are case-sensitive, so a url containing
``Cooking'' would not be denied. 
Another way is to deny access to specific servers which are known to hold
recipes. For example: 
        acl Cooking2 dstdomain gourmet-chef.com
        http_access deny Cooking2
        http_access allow all
The dstdomain means to search the hostname in the URL for the string
``gourmet-chef.com.'' 
Note that when IP addresses are used in URLs (instead of domain names),
Squid-1.1 implements relaxed access controls.
 If the a domain name for the IP address has been saved in Squid's ``FQDN
cache,'' then Squid can compare the destination 
domain against the access controls. However, if the domain is not
immediately available,
 Squid allows the request and makes a lookup for the IP address so that it
may be available for future reqeusts.


Sper ca asta sa te ajute. Pentru mai multe detalii www.squid-cache.org.
Mircea
-----Original Message-----
From: Moldoveanu Nicolae [mailto:[EMAIL PROTECTED]]
Sent: 04 aprilie 2002 15:12
To: [EMAIL PROTECTED]
Subject: [rlug] Re: Squid deny

4/4/02 13:18:13, Negrisan Laurentiu <[EMAIL PROTECTED]> wrote:

>SquidGuard e f. misto ...poti interzice mp3,avi,mpg-uri etc ..etc
>E un redirector care lucreaza cu squid-ul ...
>Daca nu te descurci la conf-uri iti dau un email cu conf-urile mele pe
>personala ...
>
>---
>Laurentiu Negrisan
>http://www.netraptores.com

        Bun si asta, dar mie imi trebuie sa interzic din squid accesul la
anumite site-uri, nu la anumite tipuri de fisiere.
        Toate cele bune,
        Nicu


---
<a href="mailto:[EMAIL PROTECTED]?Subject=unsubscribe%20rlug";>unsubscribe</a>

REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


***********************************************************************************************
The information contained in this message or any of its attachments may be 
confidential and is intended for the exclusive use of the addressee(s). Any 
disclosure, reproduction, distribution or other dissemination or use of this 
communication is strictly prohibited without the express permission of the sender. The 
views expressed in this email are those of the individual and not necessarily those of 
Sony or Sony affiliated companies. Sony email is for business use only. 

This email and any response may be monitored by Sony United Kingdom Limited.
(04)
***********************************************************************************************

---
<a href="mailto:[EMAIL PROTECTED]?Subject=unsubscribe%20rlug";>unsubscribe</a>

REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui