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

Reply via email to