Listing 1 squid.conf
http_port 80
icp_port 0
#######--> Next 3 lines: setup squid without cache.
acl all_src_ip src 0/0
no_cache deny all_src_ip
cache_dir null /tmp
#######--------------------------------------------
hosts_file /home/packages/squid/etc/hosts
cache_effective_user squid
visible_hostname www.mywebserver.xxx
######--->Reverse proxy related----------------------
#httpd_accel_host 10.0.0.1
#httpd_accel_port 80
#### OR using virtual host option. ####
httpd_accel_host virtual
httpd_accel_uses_host_header on #required for virtual hosts
#------------------------------------------------------
#Check 'acl' and 'http_access' section also and setup correct acls.
#See discussion (squid.conf sidebar) as default ACL may be denying everything.
|