Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to block some unwanted website in squid2.6 stable version.
and how to some special users to allow access to particular websites in squid2.6 stable.
i am using centos 5
how to block some unwanted website in squid2.6 stable version.
and how to some special users to allow access to particular websites in squid2.6 stable.
i am using centos 5
bye
There are several threads on this site that have covered this, and alot of information on Google. This site
Has info on how to do it, using Squid directives. Reading the Squid manual would help, too. TO allow other users to get to the blocked sites, you'll have to set up multiple authentication groups.
Has info on how to do it, using Squid directives. Reading the Squid manual would help, too. TO allow other users to get to the blocked sites, you'll have to set up multiple authentication groups.
hai
thank u for u r reply.
i already tried this option in squid . but its not working.
my squid version is 2.6 stable
my distribution is centos5
how to block some unwanted website in squid2.6 stable version.
and how to some special users to allow access to particular websites in squid2.6 stable.
i am using centos 5
Works for me in 2.6stable13 version.
Try O'Reily's book about squid ("Squid the definitive guide"). All this is explained there.
hai
thank u for ur reply . suppose i want to block n number of sites then i type each sites like this . its too hard. any other way pls help me.
and one more thing my client user remove proxy setting with out information. and they browse directly . is any idea once the client remove proxy then internet not working . is there any options in sqiud.conf file. pls tel me any suggestions.
thank u for ur reply . suppose i want to block n number of sites then i type each sites like this . its too hard. any other way pls help me.
Building a site list is the only way to do it. You can use wildcards, as the documentation states, to block ranges.
Quote:
and one more thing my client user remove proxy setting with out information. and they browse directly . is any idea once the client remove proxy then internet not working . is there any options in sqiud.conf file. pls tel me any suggestions.
That makes no sense. If you bypass Squid, you're not using it, so whatever options you put in don't apply.
The only way to make sure users are blocked, is to change your network, and make the only route out to the internet go through your proxy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.