Re: [squid-users] URL filtering

From: Henrik Nordstrom <[email protected]>
Date: Wed, 15 Oct 2003 11:16:55 +0200 (CEST)

On Wed, 15 Oct 2003, Olsson Mattias wrote:

> If i run squid as a proxy and in the .conf file say that on this server
> www.test.com you are allowed to view the two following URLs
> www.test.com/custommer and www.test.com/partner , all other URLs on
> www.test.com are DENYED!
>
> Can this be done in Squid?

Yes. The easiest way is to use a wite/blacklist configuration.

acl whitelist url_regex ^http://www\.test\.com/custommer
^http://www\.test\.com/partner
acl blacklist dstdomain www.test.com

http_access deny blacklist !whitelist

Regards
Henrik
Received on Wed Oct 15 2003 - 03:17:07 MDT

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