Re:Re: How to set a parent proxy for SOME site?

From: big_tiger <big_tiger@dont-contact.us>
Date: Thu Oct 28 19:54:10 1999

 

hlodin@lutsk.bank.gov.ua Wrote:
>On Oct 28, 1999, big_tiger wrote:
>
>bt>Through squid I can visit most Websites directly.But I can't visit some site
>bt>directly.Only through a parent proxy can I visit them.
>bt>In squid.conf I use the following:
>bt>cache_peer parent.proxy.net parent 80 7 no_query
>bt>cache_peer_domain parent.proxy.net .somedomain.net
>bt>The parent proxy is OK!
>bt>Every time I try to access ".somedomain.net", I get nothing.
>bt>why?
>
>Add to squid.conf:
>
>acl proxy_domain dstdom_regex -i somedomain.net
>always_direct deny proxy_domain
>always_direct allow all
>never_direct allow all
Thanks, I got it work! But if I have many such "somedomain.net" how to do?
Should I write a entry for every domain.net?
>
>--
>With best regards,
> Serhii Hlodin
>
>[Linux registered user #89271] -> http://counter.li.org
>
>
>
>

---------------------------------
         Ë÷Ò×--Áª½Ó¸ü½ôÃÜ£¡
         http://www.soim.com
Received on Thu Oct 28 1999 - 06:06:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:07 MST