Dear All,
not yet solved my problem.
please see my squid.conf
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
#Recommended minimum configuration:
acl all src 192.168.1.42 192.168.1.46 192.168.1.51 192.168.1.74 192.168.1.82 192.168.1.64
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl Safe_ports port 81
# And finally deny all other access to this proxy
http_access allow localhost
http_access allow all
#Allow ICP queries from everyone
icp_access allow all
visible_hostname hari
acl FOO src 192.168.1.82
acl WORKING time MTWHF 08:30-17:30
acl denied_site_names dstdomain .mail.yahoo.com .login.passport.net/uilogin.srf?id=2 .in.rediff.com/index.html
http_access allow FOO WORKING
http_access deny FOO
http_access deny denied_site_names
acl GoodIP src 192.168.1.42
# acl GoodIP src 192.168.0.15
acl BlockedIP src 192.168.1.82
# acl BlockedIP src 192.168.0.3
# acl LimitedURL url_regex -i bbc.com
# acl LimitedURL url_regex -i abc.com
# acl GoodURL url_regex -i
# acl GoodURL url_regex -i abc123.com
acl badURL url_regex -i
http://mail.yahoo.com/
acl badURL url_regex -i
http://login.passport.net/uilogin.srf?id=2
# acl badURL url_regex -i chat
http_access allow GoodIP all
http_access deny BlockedIP
http_access deny badURL