you have to create your own squidguard.conf, based on what you 
want to do.  to know more about creating squidguard.conf, you 
might want to study or copy some of the examples found in 
squidguard.org.  Below is an example, I initially started with:

# Example 4 - Blocking inappropriate sites: 
logdir /usr/local/squidGuard/log
dbhome /usr/local/squidGuard/db

dest porn {
    domainlist          porn/domains  
    urllist             porn/urls
    expressionlist              porn/expressions
    log porn.log
}

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

on the redirect, just point it to any webpage for testing.


> Mr. Ronald Warner,
> 
>  it seems that the test is working...and all the steps you gave me..
> but i cant see where the squidguard.conf
> resides.../usr/local/squid/etc/squidguard.conf
> after compilation will the squidguiard.conf generates it self ?
> 
> i have a problem on step 8
> 
> 
>  8. pico /usr/local/squid/etc/squid.conf <------ no file on the dir
>      redirect_program /usr/local/bin/squidGuard -c
> /usr/local/squid/etc/squidguard.conf
> 
> 
> 
> ----- Original Message -----
> From: Ronald Warner <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, October 09, 2000 7:53 AM
> Subject: Re: [plug] squid guard
> 
> 
> > Here are my notes for installing squidGuard.  Hope it helps.
> >
> > Installing BerkeleyDB (for use with squidGuard)
> > * use berkeleydb2.7.7; squidGuard does seems not to work with
> > later version or berkeleydb
> >
> > 1. tar -xvzh db-2.7.7.gz
> > 2. cd db-2.7.7
> > 3. cd dist
> > 4. ./configure
> > 5. make clean
> > 6. make
> > 7. make install
> >
> > -------------------------
> > Installing squidGuard
> >
> > 1. tar xvzf squidGuard-1.1.2.tar.gz
> > 2. cd squidGuard-1.1.2
> > 3. ./configure --with-db=/usr/local/BerkeleyDB \
> > --with-sg-config=/usr/local/squid/etc/squidguard.conf \
> > --with-sg-logdir=/usr/local/squidGuard/log \
> > --with-sg-dbhome=/usr/local/squidGuard/db
> > 4. make
> > 5. create the following directories
> >   mkdir /usr/local/squidGuard
> >   mkdir /usr/local/squidGuard/log
> >   mkdir /usr/local/squidGuard/db
> >   mkdir /usr/local/squidGuard/db~
> >   mkdir /usr/local/squidGuard/db/porn
> >   mkdir /usr/local/squidGuard/db/hack
> >   mkdir /usr/local/squidGuard/db/unblock
> >   mkdir /usr/local/squidGuard/db/ads
> > 6. make test
> > 7. make install
> > 8. pico /usr/local/squid/etc/squid.conf
> >    redirect_program /usr/local/bin/squidGuard -c
> /usr/local/squid/etc/squidguard.conf
> > 9. copy squidguard.conf to /usr/local/squid/etc
> > 10. copy block list files from sample to specified directory
> (/usr/local/squidGuard/db)
> >     cp /usr/local/src/squidGuard-1.1.2/samples/dest/blacklist/*
> /usr/local/squidGuard/db/porn/
> 
> 
> 
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]



_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to