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

Reply via email to