November 24, 2024, 04:16:19 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid cache and problem Configuring squid ACL  (Read 9060 times)

Offline sixkiller

  • Linux Noob !
  • *
  • Posts: 7
squid cache and problem Configuring squid ACL
« on: January 29, 2004, 11:29:52 PM »
hi all

1- i want to know if squid can put some website in his cache by default
if yes how


2-i set my acl buut all the deny pages are always allow i try to the debug option show in FAQ of squid but that did not help me (i took example of acl configuration in squid website but that didn't work too)  
:?
thanks for all

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid cache and problem Configuring squid ACL
« Reply #1 on: January 30, 2004, 03:42:03 PM »
Well.. as far as i know you cannot use squid as offline browsing software , the site is get cached as the site is opened.

Secondly to deny certains sites you have to use the following thing..
Say you want to deny www.yoindia.com and www.yahoo.com and as much you want then do the following
Code: [Select]
# Defining acl here
acl block dstdomain .yoindia.com .yahoo.com .msn.com

http_access block deny
here "block" is the ACL name i have chosen, you can use any thing you want.