Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Squid

Status
Not open for further replies.

acidbrain

Technical User
Joined
Sep 2, 2002
Messages
67
Location
RO
Hi there,
Any1 can tell me what command line do i have to put in my squid.conf to deny access for some users to access certain sites?
I have this by now:

http_access allow ofcalcc
acl photo src 10.0.0.2/255.255.255.255

Anything else i have to add to do the restriction?

Thanks alot.
 
There's also

acl some.domain.com dstdomain

Which will match some.domain.com and allow/deny accordingly.Also,

acl domain.com dstdomain domain.com
acl domain.com_chat urlpath_regex index.html index.php
http_access deny domain.com domain.com_chat

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top