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

2004-10-25 Thread Henrik Nordstrom

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


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

2004-10-25 Thread Deepa D
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$
   redirector_access deny nr_urls nr_urls1
   
   Could somebody kindly tell me what is wrong with my
configuration - is the url regex pattern wrong? If
yes, kindly mail me a sample.
   Secondly kindly advise as to whether setting the
dstdomains is safer or specifying the url pattern is
better.
   Kindly mail back asap.
   Regards and TIA,
  Deepa


 --- Elsen Marc <[EMAIL PROTECTED]> wrote: 
> 
>  
> > 
> > Hi All,
> >I am using SQUID-2.5STABLE5 and have a
> requirement
> > to bypass redirector for a few urls only. Could
> > someone kindly tell me how to do this asap.
>  
>  Check the 'redirector_access' directive in
> squid.conf.default
>  (and comments).
> 
>  M.
>  


Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony


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

2004-10-21 Thread Henrik Nordstrom

On Thu, 21 Oct 2004, Deepa D wrote:
  I am using SQUID-2.5STABLE5 and have a requirement
to bypass redirector for a few urls only. Could
someone kindly tell me how to do this asap.
See redirector_access.
Regards
Henrik


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

2004-10-21 Thread Elsen Marc

 
> 
> Hi All,
>I am using SQUID-2.5STABLE5 and have a requirement
> to bypass redirector for a few urls only. Could
> someone kindly tell me how to do this asap.
 
 Check the 'redirector_access' directive in squid.conf.default
 (and comments).

 M.