Hi squiddies, I sat up a test installation with a Squid as reverse proxy to speed up one of our servers. The Squid works fine so far with very fast response times.
(We needed it to ignore cache/expire infos from the origin server as we know exactly when data changes on it. So in the squid delivers documents without checking for "if-modified-since".) The one thing I haven't yet figured is to have the Squid log the entire URL processed, not only the part left to the question mark. There's the log entries (additional linewrap at the backslash inserted by the mail client): [12/Sep/2007:16:37:50 +0200] TCP_MISS:FIRST_UP_PARENT \ "GET http://192.168.35.167/search? 1.1" 200 10928 [12/Sep/2007:16:37:50 +0200] TCP_MEM_HIT:NONE \ "GET http://192.168.35.167/search? 1.1" 200 8578 After the question mark are some GET arguments in the actual URL that squid doesn't log. I need the fulll URL for statistical reasons. Yet I didn't find any config directive to achieve this. Did I oversee something? Squid Version is 2.6.STABLE13, compiled from source, running on a Dual Xeon (Mac Pro) under OpenSuSE 1.2 64Bit. Here is my squid.conf: cache_effective_user squid cache_effective_group nogroup 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 Safe_ports port 80 http_access deny !Safe_ports http_access allow localhost http_reply_access allow all http_port 800 accel defaultsite=192.168.35.167 cache_peer 192.168.35.167 parent 8000 0 no-query originserver http_access allow all cache_mem 1024 MB cache_dir ufs /usr/local/squid/var/cache/ 10240 16 256 maximum_object_size_in_memory 1024 KB refresh_pattern ^http: 600 80% 900 override-expire override-lastmod ignore-reload ignore-no-cache ignore-private minimum_expiry_time 600 seconds logformat mine [%tl] %Ss:%Sh "%rm %ru %rv" %Hs %<st access_log /usr/local/squid/var/logs/access.log mine cache_log /usr/local/squid/var/logs/cache.log cache_store_log /usr/local/squid/var/logs/store.log Any hints greatly appreciated.