You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modproxy-dev@apache.org by Geff <ge...@pier64.com> on 2002/08/10 01:32:06 UTC
Reproducable apache 1.3.26 /modproxy issue viewing www.kbb.com
Howdy,
Overview: The shows a blank page instead of the website.
To Reproduce: (I'm including exact version numbers of the browser I
used, but I've seen it with other versions and different browsers as
well (ie 5.5 -blehhh) :)).
Client and Server Machine: Redhat 7.3 x86.
Steps:
- Download, build and install, apache 1.3.26
./configure --enable-module=most --prefix=/usr/local/apache
make
make install
blah blah :)
- Configure proxy services in apache. I have attached my httpd.conf.
- Configure Mozilla Build ID 2002051319 to use proxy.
- Flush memory cache and disk cache in browser.
- remove cache file in apache if exists - .../w/L/D/xIxiP9wnPxSezgrSfhQ
- Visit www.kbb.com with your browser
(at this point you should see .../w/L/D/xIxiP9wnPxSezgrSfhQ in the cache
and it should look good)
- once the page is done rendering do a shift 'reload' in mozilla
(which sends a Pragma: no-cache and a Cache-Control: no-cache, which
results in forcing the the cache to "revalidate")
- You should see a blank browser page
(at this point check the apache "cached file", you should see
Content-Length:0 in addition you see a "X-Cache: HIT from hostname (with
revalidation)\r\n" in a network (ethereal or other) trace. I have
included the prefix of the proper cache file as well as a corrupted one
below).
Has anyone seen this yet? Can others reproduce?
The information I have says that kbb.com is not akamaized, however I
didn't speak to them personally so I can't be sure how accurate that
report is.
Any help of any kind would be appreciated.
Is there anything further I need to provide?
Thanks much for your time. Sorry for the lengthy post.
Geff
-----
Proper cache file:
[root@boing D]$ more xIxiP9wnPxSezgrSfhQ
000000003D544BA6 000000003D4AB385 000000003D5540F1 0000000000000001
000000003D544B55 000000003D544B55 0000000000005D48
X-URL: http://www.kbb.com/
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
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Language: en-us, en;q=0.50
Cookie: WEBTRENDS_ID=204.252.147.229-33195152.29507513;
KBBUser_ID=204.252.147.229WEB4-02089B5EBJWYYP0
Host: www.kbb.com
Keep-Alive: 300
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)
Gecko/20020513
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Content-Location: http://www.kbb.com/index.html
Date: Fri, 09 Aug 2002 23:09:26 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Fri, 02 Aug 2002 16:29:57 GMT
ETag: "60c713d7413ac21:a99"
Content-Length: 23880
Via: 1.1 localhost.localdomain
<html>
<head>
<title>Kelley Blue Book - Used Car Bluebook Values and New Car
Pricing</title>
-----
Cache file after a "revalidation" occurs from the no-cache directive:
000000003D5447C6 000000003D4AB385 000000003D553CAE 0000000000000002
000000003D544775 000000003D544775 0000000000000000
X-URL: http://www.kbb.com/
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
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Language: en-us, en;q=0.50
Cookie: WEBTRENDS_ID=204.252.147.229-33195152.29507513;
KBBUser_ID=204.252.147.229WEB4-02089B5EBJWYYP0
Host: www.kbb.com
Keep-Alive: 300
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)
Gecko/20020513
HTTP/1.1 200 OK
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Fri, 02 Aug 2002 16:29:57 GMT
Server: Microsoft-IIS/5.0
Date: Fri, 09 Aug 2002 22:52:54 GMT
Content-Location: http://www.kbb.com/index.html
ETag: "60c713d7413ac21:a90"
Content-Length: 0
Via: 1.1 localhost.localdomain
Re: Reproducable apache 1.3.26 /modproxy issue viewing www.kbb.com
Posted by Geff <bo...@boing.com>.
Geff wrote:
> Overview: The shows a blank page instead of the website.
^^^^^^ er ... Overview: The browser shows a blank page instead of the
website. :)
-----
I'd also like to say that this issue doesn't just affect the 'no-cache'
case but it also seems to affect the case when the cache decides it
needs to revalidate a resource with the original server. The 'no-cache'
method is just a convenient way to demonstrate the problem and force the
cache to try to revalidate the resource.
Geff