On Mon, 4 Feb 2002, William A. Rowe, Jr. wrote: > Yes, just one other (little) thing... the appropriate .conf sections for > the bad resources below would be great!
See below for a some verbose expected-received-description output I just added. The conf is this: ## ## mod_negotiation test config ## <IfModule mod_mime.c> AddLanguage en .en AddLanguage fr .fr AddLanguage de .de AddLanguage fu .fu AddHandler type-map .var </IfModule> <IfModule mod_negotiation.c> <IfDefine APACHE1> CacheNegotiatedDocs </IfDefine> <IfDefine APACHE2> CacheNegotiatedDocs On </IfDefine> <Directory /root/apache/httpd-test-6/perl-framework/t/htdocs/modules/negotiation/en> Options +MultiViews LanguagePriority en fr de fu </Directory> <Directory /root/apache/httpd-test-6/perl-framework/t/htdocs/modules/negotiation/de> Options +MultiViews LanguagePriority de en fr fu </Directory> <Directory /root/apache/httpd-test-6/perl-framework/t/htdocs/modules/negotiation/fr> Options +MultiViews LanguagePriority fr en de fu </Directory> <Directory /root/apache/httpd-test-6/perl-framework/t/htdocs/modules/negotiation/fu> Options +MultiViews LanguagePriority fu fr en de </Directory> </IfModule> > 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. [EMAIL PROTECTED]:/root/apache/httpd-test/perl-framework/t/htdocs/modules/negotiation# find . -name "*html*" -exec ls -al {} \; -rw-r--r-- 1 root root 17 Jul 31 2001 ./de/compressed/index.html.de -rw-r--r-- 1 root root 17 Jul 31 2001 ./de/compressed/index.html.en -rw-r--r-- 1 root root 17 Jul 31 2001 ./de/compressed/index.html.fr -rw-r--r-- 1 root root 17 Jul 31 2001 ./de/compressed/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/index.html.de -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/index.html.en -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/index.html.fr -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/two/index.de.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/two/index.en.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/two/index.fr.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./de/two/index.fu.html -rw-r--r-- 1 root root 17 Jul 31 2001 ./en/compressed/index.html.de -rw-r--r-- 1 root root 17 Jul 31 2001 ./en/compressed/index.html.en -rw-r--r-- 1 root root 17 Jul 31 2001 ./en/compressed/index.html.fr -rw-r--r-- 1 root root 17 Jul 31 2001 ./en/compressed/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/index.html.de -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/index.html.en -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/index.html.fr -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/two/index.de.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/two/index.en.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/two/index.fr.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./en/two/index.fu.html -rw-r--r-- 1 root root 17 Jul 31 2001 ./fr/compressed/index.html.de -rw-r--r-- 1 root root 17 Jul 31 2001 ./fr/compressed/index.html.en -rw-r--r-- 1 root root 17 Jul 31 2001 ./fr/compressed/index.html.fr -rw-r--r-- 1 root root 17 Jul 31 2001 ./fr/compressed/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/index.html.de -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/index.html.en -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/index.html.fr -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/two/index.de.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/two/index.en.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/two/index.fr.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./fr/two/index.fu.html -rw-r--r-- 1 root root 17 Jul 31 2001 ./fu/compressed/index.html.de -rw-r--r-- 1 root root 17 Jul 31 2001 ./fu/compressed/index.html.en -rw-r--r-- 1 root root 17 Jul 31 2001 ./fu/compressed/index.html.fr -rw-r--r-- 1 root root 17 Jul 31 2001 ./fu/compressed/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/index.html.de -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/index.html.en -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/index.html.fr -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/index.html.fu -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/two/index.de.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/two/index.en.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/two/index.fr.html -rw-r--r-- 1 root root 14 Jul 31 2001 ./fu/two/index.fu.html And here's the new -v output: /root/apache/test/bin/httpd -d /root/apache/httpd-test-6/perl-framework/t -f /root/apache/httpd-test-6/perl-framework/t/conf/httpd.conf -DAPACHE2 using Apache/2.0.32-dev (worker MPM) waiting for server to start: ok (waited 0 secs) server localhost:8529 started server localhost:8530 listening (mod_ssl) server localhost:8531 listening (mod_headers) server localhost:8532 listening (mod_echo) server localhost:8533 listening (mod_echo_ssl) server localhost:8534 listening (mod_proxy) server localhost:8535 listening (mod_vhost_alias) server localhost:8536 listening (mod_nntp_like) server localhost:8537 listening (mod_nntp_like_ssl) modules/negotiation.1..98 # testing : Verify correct default language for index.en.foo # expected: 'index.html.de' # received: 'index.html.en' not ok 1 # Failed test 1 in modules/negotiation.t at line 59 # testing : Verify correct default language for index.en.foo.gz # expected: 'index.html.de.gz' # received: 'index.html.en.gz' not ok 2 # Failed test 2 in modules/negotiation.t at line 65 # testing : Verify correct default language for index.en.html # expected: 'index.de.html' # received: 'index.en.html' not ok 3 # Failed test 3 in modules/negotiation.t at line 71 # testing : Explicitly request en/index.html.en # expected: 200 # received: '200' ok 4 # testing : Explicitly request en/two/index.en.html # expected: 200 # received: '200' ok 5 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.en' # received: 'index.html.en' ok 6 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.en.gz' # received: 'index.html.en.gz' ok 7 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.en.html' # received: 'index.en.html' ok 8 # testing : Explicitly request en/index.html.fr # expected: 200 # received: '200' ok 9 # testing : Explicitly request en/two/index.fr.html # expected: 200 # received: '200' ok 10 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fr' # received: 'index.html.fr' ok 11 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fr.gz' # received: 'index.html.fr.gz' ok 12 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fr.html' # received: 'index.fr.html' ok 13 # testing : Explicitly request en/index.html.de # expected: 200 # received: '200' ok 14 # testing : Explicitly request en/two/index.de.html # expected: 200 # received: '200' ok 15 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.de' # received: 'index.html.de' ok 16 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.de.gz' # received: 'index.html.de.gz' ok 17 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.de.html' # received: 'index.de.html' ok 18 # testing : Explicitly request en/index.html.fu # expected: 200 # received: '200' ok 19 # testing : Explicitly request en/two/index.fu.html # expected: 200 # received: '200' ok 20 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fu' # received: 'index.html.fu' ok 21 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fu.gz' # received: 'index.html.fu.gz' ok 22 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fu.html' # received: 'index.fu.html' ok 23 # testing : Verify correct default language for index.fr.foo # expected: 'index.html.de' # received: 'index.html.fr' not ok 24 # Failed test 24 in modules/negotiation.t at line 59 fail #2 # testing : Verify correct default language for index.fr.foo.gz # expected: 'index.html.de.gz' # received: 'index.html.fr.gz' not ok 25 # Failed test 25 in modules/negotiation.t at line 65 fail #2 # testing : Verify correct default language for index.fr.html # expected: 'index.de.html' # received: 'index.fr.html' not ok 26 # Failed test 26 in modules/negotiation.t at line 71 fail #2 # testing : Explicitly request fr/index.html.en # expected: 200 # received: '200' ok 27 # testing : Explicitly request fr/two/index.en.html # expected: 200 # received: '200' ok 28 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.en' # received: 'index.html.en' ok 29 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.en.gz' # received: 'index.html.en.gz' ok 30 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.en.html' # received: 'index.en.html' ok 31 # testing : Explicitly request fr/index.html.fr # expected: 200 # received: '200' ok 32 # testing : Explicitly request fr/two/index.fr.html # expected: 200 # received: '200' ok 33 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fr' # received: 'index.html.fr' ok 34 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fr.gz' # received: 'index.html.fr.gz' ok 35 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fr.html' # received: 'index.fr.html' ok 36 # testing : Explicitly request fr/index.html.de # expected: 200 # received: '200' ok 37 # testing : Explicitly request fr/two/index.de.html # expected: 200 # received: '200' ok 38 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.de' # received: 'index.html.de' ok 39 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.de.gz' # received: 'index.html.de.gz' ok 40 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.de.html' # received: 'index.de.html' ok 41 # testing : Explicitly request fr/index.html.fu # expected: 200 # received: '200' ok 42 # testing : Explicitly request fr/two/index.fu.html # expected: 200 # received: '200' ok 43 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fu' # received: 'index.html.fu' ok 44 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fu.gz' # received: 'index.html.fu.gz' ok 45 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fu.html' # received: 'index.fu.html' ok 46 # testing : Verify correct default language for index.de.foo # expected: 'index.html.de' # received: 'index.html.de' ok 47 # testing : Verify correct default language for index.de.foo.gz # expected: 'index.html.de.gz' # received: 'index.html.de.gz' ok 48 # testing : Verify correct default language for index.de.html # expected: 'index.de.html' # received: 'index.de.html' ok 49 # testing : Explicitly request de/index.html.en # expected: 200 # received: '200' ok 50 # testing : Explicitly request de/two/index.en.html # expected: 200 # received: '200' ok 51 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.en' # received: 'index.html.en' ok 52 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.en.gz' # received: 'index.html.en.gz' ok 53 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.en.html' # received: 'index.en.html' ok 54 # testing : Explicitly request de/index.html.fr # expected: 200 # received: '200' ok 55 # testing : Explicitly request de/two/index.fr.html # expected: 200 # received: '200' ok 56 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fr' # received: 'index.html.fr' ok 57 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fr.gz' # received: 'index.html.fr.gz' ok 58 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fr.html' # received: 'index.fr.html' ok 59 # testing : Explicitly request de/index.html.de # expected: 200 # received: '200' ok 60 # testing : Explicitly request de/two/index.de.html # expected: 200 # received: '200' ok 61 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.de' # received: 'index.html.de' ok 62 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.de.gz' # received: 'index.html.de.gz' ok 63 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.de.html' # received: 'index.de.html' ok 64 # testing : Explicitly request de/index.html.fu # expected: 200 # received: '200' ok 65 # testing : Explicitly request de/two/index.fu.html # expected: 200 # received: '200' ok 66 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fu' # received: 'index.html.fu' ok 67 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fu.gz' # received: 'index.html.fu.gz' ok 68 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fu.html' # received: 'index.fu.html' ok 69 # testing : Verify correct default language for index.fu.foo # expected: 'index.html.de' # received: 'index.html.fu' not ok 70 # Failed test 70 in modules/negotiation.t at line 59 fail #4 # testing : Verify correct default language for index.fu.foo.gz # expected: 'index.html.de.gz' # received: 'index.html.fu.gz' not ok 71 # Failed test 71 in modules/negotiation.t at line 65 fail #4 # testing : Verify correct default language for index.fu.html # expected: 'index.de.html' # received: 'index.fu.html' not ok 72 # Failed test 72 in modules/negotiation.t at line 71 fail #4 # testing : Explicitly request fu/index.html.en # expected: 200 # received: '200' ok 73 # testing : Explicitly request fu/two/index.en.html # expected: 200 # received: '200' ok 74 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.en' # received: 'index.html.en' ok 75 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.en.gz' # received: 'index.html.en.gz' ok 76 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.en.html' # received: 'index.en.html' ok 77 # testing : Explicitly request fu/index.html.fr # expected: 200 # received: '200' ok 78 # testing : Explicitly request fu/two/index.fr.html # expected: 200 # received: '200' ok 79 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fr' # received: 'index.html.fr' ok 80 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fr.gz' # received: 'index.html.fr.gz' ok 81 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fr.html' # received: 'index.fr.html' ok 82 # testing : Explicitly request fu/index.html.de # expected: 200 # received: '200' ok 83 # testing : Explicitly request fu/two/index.de.html # expected: 200 # received: '200' ok 84 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.de' # received: 'index.html.de' ok 85 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.de.gz' # received: 'index.html.de.gz' ok 86 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.de.html' # received: 'index.de.html' ok 87 # testing : Explicitly request fu/index.html.fu # expected: 200 # received: '200' ok 88 # testing : Explicitly request fu/two/index.fu.html # expected: 200 # received: '200' ok 89 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.html.fu' # received: 'index.html.fu' ok 90 # testing : Verify with a default language Accept-Language still obeyed (compression on) # expected: 'index.html.fu.gz' # received: 'index.html.fu.gz' ok 91 # testing : Verify with a default language Accept-Language still obeyed # expected: 'index.fu.html' # received: 'index.fu.html' ok 92 # testing : fu has a higher quality rating, so we expect fu # expected: 'index.html.fu' # received: 'index.html.fu' ok 93 # testing : fu has a higher quality rating, so we expect fu # expected: 'index.fu.html' # received: 'index.fu.html' ok 94 # testing : fu has a higher quality rating, so we expect fu # expected: 'index.html.fu.gz' # received: 'index.html.fu.gz' ok 95 # testing : bu has the highest quality but is non-existant, so fr is next best # expected: 'index.html.fr' # received: 'index.html.fr' ok 96 # testing : bu has the highest quality but is non-existant, so fr is next best # expected: 'index.fr.html' # received: 'index.fr.html' ok 97 # testing : bu has the highest quality but is non-existant, so fr is next best # expected: 'index.html.fr.gz' # received: 'index.html.fr.gz' ok 98 FAILED tests 1-3, 24-26, 70-72 Failed 9/98 tests, 90.82% okay Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- modules/negotiation.t 98 9 9.18% 1-3, 24-26, 70-72 -------------------------------------------------------------- Cliff Woolley [EMAIL PROTECTED] Charlottesville, VA