httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: httpd-test negotiation failures.
Date Mon, 04 Feb 2002 06:03:13 GMT
Yes, just one other (little) thing... the appropriate .conf sections for
the bad resources below would be great!

Thanks!!!  Sorry, I am 'between machines' right now.  I've pruned your comments
below so I can print and study them.  I'm near-certain this is a behavior
change based on the new negotiation directives; but I want to know that they
are close-to-rights.

Bill

----- Original Message ----- 
From: "Justin Erenkrantz" <jerenkrantz@ebuilt.com>
To: <wrowe@rowe-clan.net>
Cc: <test-dev@httpd.apache.org>
Sent: Sunday, February 03, 2002 11:55 AM
Subject: httpd-test negotiation failures.


> Per your request, here is a -d lwp=2 trace of the negotiation
> tests from httpd-2.0 HEAD.  Enjoy.  =)  Please let me know if
> there's anything else I can do.  -- justin
> 
> modules/negotiation.1..98
> GET http://localhost.localdomain:8529/modules/negotiation/en/:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:09 GMT
> Accept-Ranges: bytes
> ETag: "1ed53-e-cc300ec0"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.html.de
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:27 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:09 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.html.de
> 
> not ok 1

Ok, asked for nothing, got .de - right?  Here comes the what-did-the-conf-say Q?


> # Failed test 1 in modules/negotiation.t at line 58
> GET http://localhost.localdomain:8529/modules/negotiation/en/compressed/:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:09 GMT
> Accept-Ranges: bytes
> ETag: "1ed92-11-cc300ec0"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.html.de
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:27 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:09 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.html.de.gz
> 
> not ok 2

Ok, not an error, consistent with #1 above, but they got the .gz they wanted.


> # Failed test 2 in modules/negotiation.t at line 62
> GET http://localhost.localdomain:8529/modules/negotiation/en/two/index:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:09 GMT
> Accept-Ranges: bytes
> ETag: "1ef8c-e-cc300ec0;3b00e380"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.de.html
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:27 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:09 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.de.html
> 
> not ok 3
> # Failed test 3 in modules/negotiation.t at line 66

Need to know the difference between this and #1, if any.



> GET http://localhost.localdomain:8529/modules/negotiation/fr/:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:10 GMT
> Accept-Ranges: bytes
> ETag: "1f0d7-e-cc300ec0"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.html.de
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:27 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:10 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.html.de
> 
> not ok 24
> # Failed test 24 in modules/negotiation.t at line 58 fail #2

Ok, it's looking pretty obvious, we were hoping for .fr here and didn't get it
by default.  Please send the conf on this #24 and #1, because THOSE are the
dir confs that I'm most interested in.


> GET http://localhost.localdomain:8529/modules/negotiation/fr/compressed/:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:10 GMT
> Accept-Ranges: bytes
> ETag: "1f0eb-11-cc300ec0"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.html.de
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:27 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:10 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.html.de.gz
> 
> not ok 25
> # Failed test 25 in modules/negotiation.t at line 62 fail #2
> GET http://localhost.localdomain:8529/modules/negotiation/fr/two/index:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:10 GMT
> Accept-Ranges: bytes
> ETag: "1f0f5-e-cc3f5100;3b00e380"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.de.html
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:28 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:10 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.de.html
> 
> not ok 26
> # Failed test 26 in modules/negotiation.t at line 66 fail #2



> GET http://localhost.localdomain:8529/modules/negotiation/fu/:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:11 GMT
> Accept-Ranges: bytes
> ETag: "1f104-e-cc3f5100"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.html.de
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:28 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:11 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.html.de
> 
> not ok 70
> # Failed test 70 in modules/negotiation.t at line 58 fail #4

Obviously similar to #1 or #24 above.  Relevant .conf?


> GET http://localhost.localdomain:8529/modules/negotiation/fu/compressed/:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:11 GMT
> Accept-Ranges: bytes
> ETag: "1f15c-11-cc3f5100"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.html.de
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:28 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:11 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.html.de.gz
> 
> not ok 71
> # Failed test 71 in modules/negotiation.t at line 62 fail #4
> GET http://localhost.localdomain:8529/modules/negotiation/fu/two/index:
> User-Agent: libwww-perl/5.63
> 
> HTTP/1.1 200 OK
> Connection: close
> Date: Sun, 03 Feb 2002 17:52:11 GMT
> Accept-Ranges: bytes
> ETag: "1f227-e-cc3f5100;3b00e380"
> Server: Apache/2.0.32-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b DAV/2
> Vary: negotiate,accept-language
> Content-Language: de
> Content-Location: index.de.html
> Content-Type: text/html
> Last-Modified: Tue, 31 Jul 2001 21:50:28 GMT
> Client-Date: Sun, 03 Feb 2002 17:52:11 GMT
> Client-Peer: 127.0.0.1:8529
> TCN: choice
> 
> #index.de.html
> 
> not ok 72
> # Failed test 72 in modules/negotiation.t at line 66 fail #4


> FAILED tests 1-3, 24-26, 70-72


I suspect that we are choosing by size rather than language in these cases
(check the file sizes please.)  I suspect this is a misconfig, and we want
to explicitly add ForceLanguagePriority for those sections.

Bill


Mime
View raw message