Squid - [squid-users] blocking sites

This is Interesting: Free IT Magazines  
Home > Archive > Squid > July 2004 > [squid-users] blocking sites





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [squid-users] blocking sites
Hement Gopal

2004-04-29, 6:54 pm


hi all

i am running Squid Cache: Version 2.4.STABLE1.

I've tried to implement a block to porn sites using the acls with the
following entries :

acl porn1 url_regex /usr/local/squid/etc/porn1
http_access deny porn1
http_access allow all

but it doesn't seem to work.....(no errors....i am just able to browse
to any site from the blocked url list)

can anyone assist?

rgds,
hement gopal





Elsen Marc

2004-04-29, 6:54 pm


=20
> hi all
>=20
> i am running Squid Cache: Version 2.4.STABLE1.
>=20
> I've tried to implement a block to porn sites using the acls with the=20
> following entries :
>=20
> acl porn1 url_regex /usr/local/squid/etc/porn1
> http_access deny porn1
> http_access allow all
>=20
> but it doesn't seem to work.....(no errors....i am just able=20
> to browse=20
> to any site from the blocked url list)
>=20

Do you need 'url_regex' or a related directive (?) :
=20
Checkout :

=
http://www.squid-cache.org/mail-arc...99909/0559.html

Contains some good hints,

M.
adent888

2004-07-01, 7:45 am

Hement Gopal wrote:
> hi all
>
> i am running Squid Cache: Version 2.4.STABLE1.
>
> I've tried to implement a block to porn sites using the acls with the
> following entries :
>
> acl porn1 url_regex /usr/local/squid/etc/porn1
> http_access deny porn1
> http_access allow all
>
> but it doesn't seem to work.....(no errors....i am just able to browse
> to any site from the blocked url list)
>
> can anyone assist?
>
> rgds,
> hement gopal
>
>
>
>
>

Hi Hement,

The location of your blocked sites file should be in quotes,
i.e. "/usr/local/squid/etc/porn1".
Within the porn1 file itself make sure that each of the sites
listed is preceeded by a dot and listed top down (each site has its own
line.
i.e.
..porn.com
..bustybabes.com

I hope this helps,

Dan Kirk
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com