[squid-users] Using HTTP1.1 with Squid and Apache

From: Jeff Rouse/NCO/CEtv <jrouse@dont-contact.us>
Date: Tue, 22 May 2001 09:18:42 +1000

Hi

I am running Squid 2.4 Stable1 on a Redhat Linux7.1 box. I am running
squid in accelerator mode to an Apache 1.3.9 WebServer running on a
Solaris8 E450.

The problem I am having is that when I request HTTP1.1 packets from the
Webserver via Squid I only get HTTP1.0 packets returned. However when I
connect directly to the Webserver I get HTTP1.1 packets returned.

I have telneted directly to the ports on both machines and get the
following output:
Via Squid
========
GET / HTTP/1.1
Host: marvin

HTTP/1.0 200 OK
Date: Mon, 21 May 2001 23:06:56 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 ApacheJServ/1.1
Last-Modified: Mon, 05 Mar 2001 04:07:59 GMT
ETag: "85b6-7e3-3aa3111f"
Accept-Ranges: bytes
Content-Length: 2019
Content-Type: text/html
X-Cache: MISS from marvin
Connection: keep-alive

Direct to Apache
==============
GET / HTTP/1.1
Host: marvin

HTTP/1.1 200 OK
Date: Mon, 21 May 2001 23:08:18 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21 ApacheJServ/1.1
Last-Modified: Mon, 05 Mar 2001 04:07:59 GMT
ETag: "85b6-7e3-3aa3111f"
Accept-Ranges: bytes
Content-Length: 2019
Content-Type: text/html
X-Pad: avoid browser bug

My squid.conf looks like :
=====================
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
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
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
http_access allow all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
icp_access allow all
redirect_program /usr/local/squid/bin/redirector
redirect_rewrites_host_header on
http_port 7500
cache_mem 15 MB
httpd_accel_host 155.18.2.10
httpd_accel_port 7500
httpd_accel_uses_host_header on
cache_effective_user nobody
cache_effective_group nobody
cache_dir ufs /usr/squid-cache 100 16 256
httpd_accel_with_proxy off

I am using a perl redirector script - basically just the one that comes in
the doco - and it's working fine.

Can anyone help?

Thankyou
Jeff.

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
Received on Mon May 21 2001 - 17:19:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:13 MST