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" <[EMAIL PROTECTED]>
To: "Christian Ricardo dos Santos" <[EMAIL PROTECTED]>
Cc: "squid-users" <[EMAIL PROTECTED]>
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

Reply via email to