You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/04/22 05:18:20 UTC
DO NOT REPLY [Bug 8357] New: -
Can't force http 1.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8357
Can't force http 1.0
Summary: Can't force http 1.0
Product: Apache httpd-2.0
Version: 2.0.35
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: mod_setenvif
AssignedTo: bugs@httpd.apache.org
ReportedBy: davidstl@yahoo.com
Hi,
I'm trying to force Apache to use http 1.0 regardless of what the client
supports. I've tried various configurations that I confirmed word in Apache 1.3,
but I'm still getting http 1.1 when using Apache 2. Here is my http.conf section:
BrowserMatchNoCase "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Gecko/20020419" downgrade-1.0 force-response-1.0
BrowserMatchNoCase ".*" nokeepalive downgrade-1.0 force-response-1.0
SetEnvIfNoCase User-Agent ".*ozilla.*" \
downgrade-1.0 force-response-1.0
SetEnv force-no-vary
SetEnv downgrade-1.0
SetEnv force-response-1.0
I set Mozilla up to log the HTTP headers and this is what I get:
0[234180]: http request [
0[234180]: GET / HTTP/1.1
0[234180]: Host: algonquin.tzo.com:8080
0[234180]: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:0.9.9+) Gecko/20020419
0[234180]: Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
0[234180]: Accept-Language: en-us, en;q=0.50
0[234180]: Accept-Encoding: gzip, deflate, compress;q=0.9
0[234180]: Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
0[234180]: Keep-Alive: 300
0[234180]: Connection: keep-alive
0[234180]: ]
1948[ff79d8]: http response [
1948[ff79d8]: HTTP/1.1 200 OK
1948[ff79d8]: Date: Mon, 22 Apr 2002 03:11:43 GMT
1948[ff79d8]: Server: Apache/2.0.35 (Win32)
1948[ff79d8]: Last-Modified: Mon, 22 Apr 2002 03:00:31 GMT
1948[ff79d8]: Etag: "0-5-e72f61a1"
1948[ff79d8]: Accept-Ranges: bytes
1948[ff79d8]: Content-Length: 5
1948[ff79d8]: Connection: close
1948[ff79d8]: Content-Type: text/html; charset=ISO-8859-1
1948[ff79d8]: ]
You can look at my config yourself if you wish: http://algonquin.tzo.com:8080
for a test page and look at how it is set up here:
http://algonquin.tzo.com:8080/server-info
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org