Thank you Amos in this way it works.
But that was an example, in my config I should use acl from file, and it 
doesn't work. So this is the relevant config:

acl parentproxyHUBAT dstdomain /etc/squid/hubatsite.acl
cache_peer 172.31.3.70 parent 8080 0 no-query default name=HUBATLDB
cache_peer_access HUBATLDB allow parentproxyHUBAT
never_direct allow parentproxyHUBAT

the file is:
[root@HUB-HK-PRX-03 squid]# ll hubatsite.acl
-rw-r--r-- 1 squid squid 168 Jan 17 23:18 hubatsite.acl
[root@HUB-HK-PRX-03 squid]# cat hubatsite.acl
.carefirst.com
employer.carefirst.com
cfsecuremail.carefirst.com
broker.carefirst.com
.wbmason.com
www.wbmason.com
images.wbmason.com
.voeazul.com.br
www.voeazul.com.br[root@HUB-HK-PRX-03 squid]#

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati 
esclusivamente al destinatario indicato e considerarsi dal contenuto 
strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o 
avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire 
immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo 
allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia 
o archiviazione del presente messaggio da parte di chi non ne è il destinatario 
è strettamente proibito e può dar luogo a responsabilità di carattere civile e 
penale punibili ai sensi di legge.
Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della 
normativa vigente.

The contents of this email message and any attachments are intended solely for 
the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has 
been addressed to you in error, please immediately notify the sender and then 
delete this message and any attachments from your system. If you are not the 
intended recipient, you are hereby notified that any use, dissemination, 
copying, or storage of this message or its attachments is strictly prohibited. 
Unauthorized disclosure and/or use of information contained in this email 
message may result in civil and criminal liability. “
This e-mail has legal value according to the applicable laws only if it is 
digitally signed by the sender
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to