[squid-users] How to allow subdomains in my config.

Amos Jeffries squid3 at treenet.co.nz
Wed Oct 14 02:46:59 UTC 2015


On 14/10/2015 12:37 p.m., Leonardo Rodrigues wrote:
> Em 13/10/15 18:14, Sebastien.Boulianne at cpu.ca escreveu:
>>
>> cache_peer ezproxyxxxxx.reseaubiblio.ca parent 80 0 no-query
>> originserver name=ezproxycqlm
>>
>> acl ezproxycqlmacl dstdomain ezproxycqlm.reseaubiblio.ca
>>
>> http_access allow www80 ezproxycqlmacl
>>
>> cache_peer_access ezproxycqlm allow www80 ezproxycqlmacl
>>
>> cache_peer_access ezproxycqlm deny all
>>
>>
> 
>     no guessing games would be awesome ... please post your ACL
> definitions as well
> 

He did it was hidden in the middle.

Sebastien:

Place a '.' as the prefix on the dstdomain.
Like this:
  acl example dstdomain .example.com


Amos


More information about the squid-users mailing list