Re: [squid-users] barebones squid configuration

From: <Winston.Tan@dont-contact.us>
Date: Thu, 8 Jan 2004 12:09:00 +0800

hi,

I m running squidguard.conf. May i know how to block certain websites? I
have change the ERR_CONNECT_FAIL file.
It still can go to for example, hotmail.

This is my configuration,

logdir /var/squidGuard/logs
dbhome /var/squidGuard/db

dest yahoo.com{
        log blacklist
        domainlist blacklist/domains
        urllist blacklist/urls
}

acl {
        default {
                pass !blacklist
        redirect
http://localhost/cgi/blocked?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
    }
}

Thanks for your help.

Winston

This message is intended solely for the addressee. It is confidential and
may be legally privileged. Access to this message by anyone else is
unauthorised. Unauthorised use is strictly prohibited and may be unlawful.
If you are not the intended recipient, any disclosure, copying, or
distribution of the message, or any action or omission taken by you in
reliance on it, except for the purpose of the delivery to the addressee, is
prohibited and may be unlawful. Any confidentiality or privilege is not
waived or lost because this email has been sent to you by mistake. Please
immediately contact the sender if this email is incomplete or illegible, or
if you have received it in error. Thank you.
Received on Wed Jan 07 2004 - 21:09:05 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:04 MST