Ashley wrote:
> I have installed squidGuard and works great but its blocking
> a few sites that I want access to.
>
> Can someone please point in in the right direction on how to
> unblock these sites. I have had a look at the squidGuard web
> site. Thank You
SquidGuard blocks requests matching them against three different criteria: domain name (to block access to full domains), url (to block access to a part of a domain only) or expression (to block access to url containing some keywords searched in a regexp way).
During startup, squidGuard loads the trusted database first, then all the remaining others; the trusted database overrides the other databases contents, then if you want to grant access to a site that is otherwise blacklisted you have to add it to the trusted database.
First of all, I'd suggest you to identify the exact reason why squidGuard blocks the site, and the minimum requirement you need to fulfil your users needs. This requirement defines your corrective action.
As an example, on my system squidGuard blocked some pages in an otherwise fully regular site because some of the urls, let's say in the form "
www.some.site/abc/...", were catched by the expression list of the porn database: "
www.some.site/abc/titolo4/" contains the keyword "tit", so it was considered an xxx page.

The minimum requirement in this case was to grant access to the "
www.some.site/abc" url tree: you can do it as root with the single command:
# echo '
www.some.site/abc' >> /usr/local/squidGuard/db/trusted/urls
But if you think that a more general access to the blocked site can be granted, you can do it defining the site or the full domain as trusted; as root issue the commands:
# echo '
www.some.site' >> /usr/local/squidGuard/db/trusted/domains
or
# echo 'some.site' >> /usr/local/squidGuard/db/trusted/domains
respectively.
Note that the trusted/urls database contains URLs, while the trusted/domains database contains domain names only.
You can even override blacklisted sites on an URL keyword basis inserting a regular expression in the trusted/espressions database, if you see fit, but it's not simple and requires a thorough testing to be sure it works as expeted.
HTH...
--
Pierluigi Miranda