On Sun, Sep 01, 2002 at 10:51:05PM +0530, Praveen Kannan wrote:
>       I have configured Squid for my network. I have blocked some mp3 sites
> in my ACL's. But if we give an RDNS ip of the entry, I find that we

I use:

acl justip url_regex http://[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
http_access deny justip

Feel free to adjust to your convenience.

>       How do i implement this, btw i also want to allow all the local
> webservers running on my network, so that numeric URL access is

Local browsing should not be done via squid anyway. Best not to allow
that. Ask your users to enable the checkbox "Bypass proxy for Local
Addresses" (IE).

Still:

acl lan_justip url_regex http://192\.168\.[0-9]\.[0-9]+
http_access allow lan_justip

Adjust to your LAN. Note that this http_access line should be *above*
the http_access line for acl justip.

Binand

-- 
If you found this helpful, please take some time off to rate it:
http://svcs.affero.net/rm.php?r=binand


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to