Re: [squid-users] another Reverse Proxy question

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 08 Sep 2009 10:38:41 -0800

f010f_at_aol.com wrote:
> -----Original Message-----
> From: Jeff Pang <pangj_at_arcor.de>
> To: f010f_at_aol.com
> Cc: squid-users_at_squid-cache.org
> Sent: Mon, Sep 7, 2009 2:35 pm
> Subject: Re: [squid-users] another Reverse Proxy question
>
> sure.
> use src ACL type instead of dstdomain in the reverse proxy setting.
>
> -----End Message-----
>
> Thanks for your reply.
> Can you give me example, please? I'm still learning...

http_port 80 accel default_site=www.example.com
acl mydomain dstdomain www.example.com
# Default http_access rules go here (Deny to not Safe_ports, deny
connect to not SSL_ports, etc).
http_access allow mydomain
http_access deny all
cache_peer 10.0.0.77 parent 77 0 originserver noquery name=default
cache_peer 10.0.0.88 parent 88 0 originserver noquery name=special
acl special_guests src 192.168.1.0/24
cache_peer_access special allow special_guests
cache_peer_access special deny all
cache_peer_access default allow all

Chris
Received on Tue Sep 08 2009 - 18:38:49 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 09 2009 - 12:00:02 MDT