May 13, 2024, 09:11:18 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Need to access only certain websites  (Read 3085 times)

Offline suresh

  • New Member
  • Posts: 1
Need to access only certain websites
« on: December 29, 2004, 09:21:23 AM »
I need help whereby i want to access a client to only certain websites. How do i do that ? Please help

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Need to access only certain websites
« Reply #1 on: January 01, 2005, 03:29:35 PM »
This is has been thoroughly discussed ..
see Allowing access to certain websites using squid

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Need to access only certain websites
« Reply #2 on: January 04, 2005, 10:47:09 AM »
hi
#u can go to /etc/squid/squid.conf
search string "acl"
add these 3 lines like  this:
acl blacklist url_regex rediffmail.com
http_access deny blacklist
http_access allow all
                           
          Here rediffmail.com is the site name u want to block
it helps u
bye