Re: [squid-users] cache_peer_domain wildcards?

From: Pablo García <malevo@dont-contact.us>
Date: Mon, 4 Dec 2006 14:10:06 -0300

Robin

You have to define the servers, url, domains, etc you're
going to accelerate in the configuration using a combination of
cache_peer + acl + cache_peer_access + never_direct
 Ej : you have to accelerate www.example.com that resides on 10.1.1.1,
then your config should be like this

http_port 80 defaultsite= www.example.com vhost
cache_peer 10.1.1.1 parent 80 0 no-query originserver
acl accel_host dstdomain .example.com
cache_peer_access 10.1.1.1 allow accel_host

acl all src 0.0.0.0/0.0.0.0
never_direct deny all

Hope this helps

Regards, Pablo

> Pablo,
>
> Can you provide me with a sample configuration?
>
> Or, perhaps even a link to documentation on the new 2.6 configuration
> directives?
>
> Thanks,
>
> R.
>
Received on Mon Dec 04 2006 - 10:10:10 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST