Hi,
Squid is only HTTP1.0 complaint.So whenever client makes request using
HTTP1.1 squid converts this to HTTP1.0. There is nothing to do with your
squid conf.
Regards,
squid@visolve.com
www.visolve.com
----- Original Message -----
From: Jeff Rouse/NCO/CEtv <jrouse@austar.com.au>
To: <squid-users@squid-cache.org>
Sent: Tuesday, May 22, 2001 4:48 AM
Subject: [squid-users] Using HTTP1.1 with Squid and Apache
> 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 Tue May 22 2001 - 08:19:12 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:14 MST