Need help in Squid
Shahzad, Imran
imran.shahzad at orbit.net
Thu Jun 2 08:12:57 UTC 2005
Dear
Great thanks. Its work.........!!! It is done for all users (IPs). I need to
do only for specific one IP. 192.100.2.101.
Please suggest.
Regards
Imran S. Mahmood
-----Original Message-----
From: V P [mailto:list307 at gmail.com]
Sent: Thursday, June 02, 2005 11:07 AM
To: For users of Fedora Core releases
Subject: Re: Need help in Squid
On 6/2/05, Shahzad, Imran <imran.shahzad at 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
--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
This message and any attachments (the 'message') is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender. Any use not in accord with its
purpose, any dissemination or disclosure, either whole or partial, is
prohibited, except with formal approval. The Internet cannot guarantee the
integrity of this message. Orbit (and its subsidiaries) shall therefore not
be liable for the message, if modified. Orbit accepts no liability for any
damage caused by any error or virus transmitted by this email.
More information about the users
mailing list