[squid-users] Wrong documents returned by squid

From: Divers Ibiz <divers@dont-contact.us>
Date: Tue, 27 Mar 2001 11:24:52 +0200

Hello,

I have a problem with 4 squid proxys, sometimes when a user ask for a
document ( images, html ... )
it returns a http 200 response code with the wrong document.

For example : you want to see a gif image and it returns an Html file.

I've modify the size of memory allocated to cache, removed all objects
from the cache ...
but nothing changed.

Squid Cache: Version 2.3.STABLE4
My squid.conf File is in attachement.

Thanks in advance.

http_port 80

icp_port 3130

acl QUERY urlpath_regex cgi-bin \? servlet servlets
no_cache deny QUERY

cache_mem 100 MB

cache_swap_low 50
cache_swap_high 90

maximum_object_size 60000 KB

ipcache_size 2048
ipcache_low 50
ipcache_high 90

cache_dir ufs /ms/cache 10000 32 512

cache_access_log /ms/logs/access.log

cache_log none

cache_swap_log /ms/cache/cache_swap_log

cache_store_log none

emulate_httpd_log on

pid_filename /var/run/squid.pid

redirect_program /ms/trtredir/redir_crc

redirect_children 20

redirect_rewrites_host_header on

refresh_pattern -i ^http: 0 20% 0
refresh_pattern . 0 20% 4320

negative_ttl 3 minutes

positive_dns_ttl 10 hours

negative_dns_ttl 10 minutes

connect_timeout 60 seconds

read_timeout 5 minutes

request_timeout 30 seconds

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 SSL_ports port 443 563
acl Safe_ports port 80 21
acl CONNECT method CONNECT

acl PURGE method purge
acl localhost src 127.0.0.1
http_access allow purge localhost
http_access deny purge

acl localmanager src 192.168.93.0/24

http_access allow manager localhost localmanager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow all

icp_access deny all

cache_mgr webmaster@localhost

cache_effective_user squid
cache_effective_group squid

httpd_accel_host 192.168.92.3
httpd_accel_port 80

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

anonymize_headers allow Allow Authorization Cache-Control
anonymize_headers allow Content-Encoding Content-Length
anonymize_headers allow Content-Type Date Expires Host
anonymize_headers allow If-Modified-Since Last-Modified
anonymize_headers allow Location Pragma Accept
anonymize_headers allow Accept-Encoding Accept-Language
anonymize_headers allow Content-Language Mime-Version
anonymize_headers allow Retry-After Title Connection
anonymize_headers allow Proxy-Connection
anonymize_headers allow Cache-Control Pragma
Received on Tue Mar 27 2001 - 02:24:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:59 MST