Thanks a lot, it works fine.
Enjoy Each Moment . . . . . Chirag K. Gohel Talk to Me : +91 99099 93937 www.genxsolution.in http://chiragkgohel.blogspot.com http://chiragkgohel.wordpress.com http://saurashtralug.blogspot.com On Sun, Nov 20, 2011 at 12:52 PM, Sheel Sindhu Manohar < [email protected]> wrote: > > To Do changes in squid.conf ( configuration file) > *gedit /etc/squid/squid.conf* > > > I used 2.7 for my utility lab and it having a single file of *squid.conf* > > After 3 version it having separate files u have to see the *squid.conf*file > and search for this line > *# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS* > > To Block The Ip series : > *acl host src 192.168.1.0/24 > > *Acl : Access Control List > > To block sites : > > Dstdomain :This is the effective method to control > specific domain > > *acl badsites dstdomain .youtube.com .roboture.in* > > To block site using file : > > *acl badsearch url_regex -i "/etc/squid/filename.acl" > > http_access deny host badsites > > http_access deny badsearch > > http_access allow host > * > > > > On Sat, Nov 19, 2011 at 9:37 AM, Mr. Chirag Gohel > <[email protected]>wrote: > >> Squid version is 3.1.16 >> >> >> >> Enjoy Each Moment . . . . . >> >> Chirag K. Gohel >> Talk to Me : +91 99099 93937 >> www.genxsolution.in >> http://chiragkgohel.blogspot.com >> http://chiragkgohel.wordpress.com >> http://saurashtralug.blogspot.com >> >> >> >> On Fri, Nov 18, 2011 at 11:46 PM, Sheel Sindhu Manohar < >> [email protected]> wrote: >> >>> >>> >>> *SQUID* >>>> I am unable to block the sites base on url or domain name. >>>> >>>> Which version you using Squid 2.7 or 3.0 ? >>> >>> >>> >>> -- >>> ________________________________________ >>> SHEEL SINDHU MANOHAR ( www.*SheelBhai*.tk ) >>> Website: www.ssmanohar.in >>> Twitter: http://twitter.com/ssmanohar >>> ________________________________________ >>> >>> -- >>> Mailing list guidelines and other related articles: >>> http://lug-iitd.org/Footer >>> >> >> -- >> Mailing list guidelines and other related articles: >> http://lug-iitd.org/Footer >> > > > > -- > ________________________________________ > SHEEL SINDHU MANOHAR ( www.*SheelBhai*.tk ) > Website: www.ssmanohar.in > Twitter: http://twitter.com/ssmanohar > ________________________________________ > > -- > Mailing list guidelines and other related articles: > http://lug-iitd.org/Footer > -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
