As u told me i have done but i couldn't block any site which i have entered in block.txt
----- Original Message ----- From: "# sriram #" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 2002 3:30 PM Subject: Re: Site restriction in squid > very simple.. > step 1 is to declare the acl as a URL regex like this > > acl blocked url_regex "/home/selvi/block.txt" > acl unblock url_regex "/home/selvi/unblock.txt > > the next step is to define the acl like this > > http_access deny blocked !unblock > > restart squid > give proper permissions to the block and unblock.txt > > > On Fri, 4 Jan 2002, Selvi wrote: > > !Date: Fri, 4 Jan 2002 15:19:10 +0530 > !From: Selvi <[EMAIL PROTECTED]> > !Reply-To: [EMAIL PROTECTED] > !To: [EMAIL PROTECTED] > !Subject: Re: Site restriction in squid > ! > !Please can u expailn exact words ro block and unblock certain site > ! > !/home/selvi/block.txt > !/home/selvi/unbolck.txt > ! > !The above text file contains list of domains to block and unblock.If > !possible tell me how to restrict all the domains which is in block.txt? > ! > !or > !tell me to restrict single site say www.xxx.com > ! > !Thanks in advance > ! > !selvi > ! > ! > !----- Original Message ----- > !From: "# sriram #" <[EMAIL PROTECTED]> > !To: <[EMAIL PROTECTED]> > !Sent: Friday, January 04, 2002 1:13 PM > !Subject: Re: Site restriction in squid > ! > ! > !> u have to create ACLs or Access Control Lists for that and use regex for > !blocking/unbloaking particular sites > !> > !> typically u can have a block.txt for sites to be blocked and an > !unblock.txt for sites that should pass the block filter... > !> > !> > !> > !> On Fri, 4 Jan 2002, Selvi wrote: > !> > !> !Date: Fri, 4 Jan 2002 12:47:44 +0530 > !> !From: Selvi <[EMAIL PROTECTED]> > !> !Reply-To: [EMAIL PROTECTED] > !> !To: [EMAIL PROTECTED] > !> !Subject: Site restriction in squid > !> ! > !> !I had sucessfully configured squid proxy in my Linux server.Everything > !was ok. > !> ! > !> !If i want to resstict particular site (say xxx.com).How can i do in squid > !proxy? > !> ! > !> !Thanks in advance > !> ! > !> !Selvi > !> ! > !> ! > !> > !> ---------------------------------------------------------- > !> rm -rf /bin/laden > !> ---------------------------------------------------------- > !> > !> > !> > !> > !> > !> _______________________________________________ > !> Seawolf-list mailing list > !> [EMAIL PROTECTED] > !> https://listman.redhat.com/mailman/listinfo/seawolf-list > !> > ! > ! > ! > !_______________________________________________ > !Seawolf-list mailing list > [EMAIL PROTECTED] > !https://listman.redhat.com/mailman/listinfo/seawolf-list > ! > > ---------------------------------------------------------- > rm -rf /bin/laden > ---------------------------------------------------------- > > > > > _______________________________________________ > Seawolf-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/seawolf-list > _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
