On 6/2/05, Shahzad, Imran <imran.shahzad(a)orbit.net> wrote:
Dear All
I am running Fedora box with Squid, I need to restrict some user to use web
site.
Example I wan to stop all web site except one.
Means users can use only
www.abc.net and other all deny, could you please
tell me how can I do this job?
Add the following line to the bottom of the acl section in squid.conf
(you will have to do some reading to figure out where)
acl allowedsite dstdomain .abc.net
Add the following line to the top of the http_access section, but
below the "INSERT YOUR OWN RULE(S) HERE..." line
http_access deny !allowedsite
Save and restart the squid service.
You should try googling for a solution before posting a mail here.
Regards
VJP
--
Novitiate of the Knife, under the Master of the Sabre of The Holy Llamadieans.
Official Protector of The Llama, Spiritual Leader of The Republic of Loungevania