[squid-users] Squid not caching my requests

From: Kvetch <kvetch@dont-contact.us>
Date: Wed, 29 Sep 2004 13:28:41 -0400

Hello, I am trying to get squid setup as a reverse proxy. I have
squid on a seperate server than my Apache server. I was able to get
squid to deliver pages but if I view the access log while trying to
hit pages, everything gets reported as a MISS and I don't see any
HITs. I am not sure what I am doing wrong and was hoping someone
might be able to spot something in my conf file or help me improve.
There is an acl (good_paths) set below that is specific for a module I
run in Apache amd 192.168.1.88 is my Apache server.
Below is my configuration.

Thanks for any help,
Nick

http_port 80
httpd_accel_host 192.168.1.88
httpd_accel_port 80
httpd_accel_single_host on
httpd_accel_with_proxy on
httpd_accel_uses_host_header off
visible_hostname squid1.mysite.net
cache_mem 64 MB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /u02/squid 12288 16 256
request_body_max_size 0 KB
shutdown_lifetime 10 seconds
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
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 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl good_paths urlpath_regex -i \/myapp\-bin\/myapp\?\?
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow good_paths
http_access allow all
http_reply_access allow all
coredump_dir /u02/squid
Received on Wed Sep 29 2004 - 11:28:42 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT