Re: [squid-users] ACL question

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Tue, 12 Feb 2008 11:08:03 +0100

On 11.02.08 19:34, Phibee Network Operation Center wrote:
> I have a Squid Server, i am search a solution for add a small ACL:
>
> ACL based on a IP List (/etc/squid/ip_authorized) with this fonction:
>
> - If the IP is into the list, no problems, he can going on www.
>
> - If the IP are not into the list, he can going on the www but
> for all URL squid rewrite it in http://www.domaine.com
> For sample, he put http://www.google.com => he going on
> http://www.domaine.com

you don't need to rewrite, just use ACL with alloweds IPs and deny_info
Just allow access from all to the url deny_info points to.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod
Received on Tue Feb 12 2008 - 03:08:10 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST