RE: [squid-users] bypass redirector for some urls

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 25 Oct 2004 14:32:51 +0200 (CEST)

On Mon, 25 Oct 2004, Deepa D wrote:

> Hi,
> Thanks for the response.
> I am using squid as a transparent non caching proxy
> server. I could configure squid.conf to use
> redirector_access for dstdomains mentioned in a file
> or mentioning the domain in the config file itself
> but I am unable to do the same for url_regex. I am
> pasting a sample below :-
> acl nr_urls url_regex ^http://www\.rediff\.com$
> acl nr_urls1 url_regex ^http://www\.yahoo\.com$

These two should both be in the same acl.

> redirector_access deny nr_urls nr_urls1

Which can not match as a request for www.rediff.com can not at the same
time be a request for www.yahoo.com..

acl nr_urls url_regex ^http://www\.rediff\.com$ ^http://www\.yahoo\.com$
redirector_access deny nr_urls

Regards
Henrik
Received on Mon Oct 25 2004 - 06:32:53 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST