RE: Need help in Squid

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



Great thanks. Its work.........!!! It is done for all users (IPs). I need to
do only for specific one IP. 
Please suggest.  

Imran S. Mahmood 

-----Original Message-----
From: V P [mailto:[email protected]] 
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 <[email protected]> wrote:
> Dear All 
> I am running Fedora box with Squid, I need to restrict some user to use
> site. 
> Example I wan to stop all web site except one. 
> Means users can use only 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

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.


Novitiate of the Knife, under the Master of the Sabre of The Holy
Official Protector of The Llama, Spiritual Leader of The Republic of

fedora-list mailing list
[email protected]
To unsubscribe:

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