Hi gurus,
a new requirement has arisen me, I need to address the
page of access error not authorized to a page of my
intranet, however, this should only be applied to the
teams that fulfill certain access list
example,
acl redirect src 120.0.0.0/8
acl intranet dst 120.0.0.7/32
http_access allow redirect intranet
http_access deny redirect!intranet -> redirect.html
can I make this or should it be made with some
external program?
Regards.
Eganya
--- Eganya Alfredo <eganyaalfredo@yahoo.es> escribió:
> hi abu,
> thanks a lot, it work perfectly.
>
> blessings.
> Eganya
> eganya@asertiva.cl
>
> --- Abu Khaled <khaled.abu@gmail.com> escribió:
>
> > On 7/8/05, Eganya Alfredo <eganyaalfredo@yahoo.es>
> > wrote:
> > >
> > > internal sites:
> > > web.aza.cl
> > > mail.aza.cl
> > >
> > > external site:
> > > *.cl
> > > *.com
> > > *.net
> > >
> > > team free:
> > > 125.1.1.0/24
> > > can acces all the web(external sites)
> > >
> > > team blocked:
> > > 125.1.7.0/24
> > > just internal sites
> > >
> >
> > # the dot before the domain names is important (
> > .google.com )
> > acl intsites dstdomain .aza.cl
> > acl extsites dstdom_regex \.cl$ \.com$ \.net$
> > acl freeteam src 125.1.1.0/24
> > acl blockteam src 125.1.7.0/24
> > http_access allow blockteam intsites
> > http_access deny blockteam !intsites
> > # if you do not want freeteam to access internal
> > sites
> > # http_access deny freeteam intsites
> > http_access allow freeteam extsites
> > # and last rule deny all
> > http_access deny all
> > -----
> >
> > I hope this solves your problem.
> > visolve has good documentation about squid ACLs
> >
>
http://squid.visolve.com/squid/squid24s1/access_controls.htm#acl
> >
> > --
> > Regards.
> > Abu Khaled
> >
>
>
> by Eganyaeganya arroba asertiva punto cl
>
>
>
>
>
> ______________________________________________
> Renovamos el Correo Yahoo!
> 1GB de capacidad, nuevos servicios y más seguridad
> http://correo.yahoo.es
>
by Eganya Alfredo
eganya arroba asertiva punto cl
______________________________________________
Renovamos el Correo Yahoo!
1GB de capacidad, nuevos servicios y más seguridad
http://correo.yahoo.es
Received on Wed Jul 20 2005 - 13:26:59 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT