Hi,
Let us assume that you would like to prevent users
from accessing chat and mail.
One way to implement this would be to deny access to
any URLs that contain the word "chat" or "mail".
You would use these lines in squid.conf:
acl CHAT url_regex chat
acl MAIL url_regex mail
http_access deny CHAT
http_access deny MAIL
http_access allow all
The regular expression chat or mail could be replaced
with any other expressions for your requirement.You
can further add as many acl as needed.
Regards,
visolve cache
--- Carlos Garcia Arques <carlos.garcia@ran.es> wrote:
> Hi,
>
> I'm looking for a way of doing very simple web page
> (i.e. contents)
> filtering.
>
> I assume I'll have to hack a little.
>
> Can anybody tell me where exactly I should modify
> squid?
>
> (or any other hint)
>
> Thanks in advance.
>
> Salud,
> Carlos
>
>
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Received on Thu Nov 04 1999 - 21:55:14 MST
This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT