Didn't work...
The squid DENY any requisition to the PERMIT sites, after remove the
character ^ of each entry from the file txtgeneral2.txt everything back to
normal...
Do I need change anything else ?
----- Original Message -----
From: "Andreas Pettersson" <andpet@telia.com>
To: "Christian Ricardo dos Santos" <Christian@telefutura.com.br>
Cc: "squid-users" <squid-users@squid-cache.org>
Sent: Thursday, September 30, 2004 5:58 PM
Subject: Re: [squid-users] Blocking mixed URLs
> Sorry but I am a begginer, I never ever heard about this dstdomain.
>
> How about this "# sed 's/^/\^/' txtgeneral.txt" ? I should use it instead
> "http_access allow txtlan general !download" ?
No no :)
sed is basically a utility used to manipulate text.
Running this (in a shell):
sed 's/^/\^/' txtgeneral.txt > txtgeneral2.txt
will add ^ in front of each line in txtgeneral.txt and put the result in
txtgeneral2.txt.
You can then use the new file in the url_regex acl.
Do not change the http_access row.
For more details regarding access control, check out
http://www.squid-cache.org/Doc/FAQ/FAQ-10.html
/Andreas
Received on Mon Oct 04 2004 - 11:57:21 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:01 MST