Re: [squid-users] Blocking mixed URLs

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Thu, 30 Sep 2004 22:58:20 +0200

> 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 Thu Sep 30 2004 - 14:57:54 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT