Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: suresh on December 29, 2004, 09:21:23 AM

Title: Need to access only certain websites
Post by: suresh 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
Title: Need to access only certain websites
Post by: Ricky on January 01, 2005, 03:29:35 PM
This is has been thoroughly discussed ..
see  Allowing access to certain websites using squid (http://www.linuxsolved.com/forums/ftopic943.html)
Title: Need to access only certain websites
Post by: gauravbajaj 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