Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Post Squid Configuration

    Iam blocking some web sites using squid in RHEL 5.(Tikanga) Kernel 2.6.18-8.el5.
    It blocks the same website for all the users. I want to give access of blocked website to few users. Can anyone tell me how to do it?

  2. #2
    add sites to blocksites file
    acl blocksite urlregex -i "/etc/squid/blocksites"
    acl allowed-hosts src ip1 ip2 ip3
    acl rest-allowed src ip4 ip5 ip6
    http_access allow allowed-hosts
    http_access deny blocksite
    http_access rest-allowed

    Take care of the order of rules, as they are interprested sequentialy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts