RE: Need help in Squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
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@xxxxxxxxx> 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@xxxxxxxxxx
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.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux