https://bugzilla.wikimedia.org/show_bug.cgi?id=21617

           Summary: 406 Not Acceptable from the text browser
           Product: Wikimedia
           Version: unspecified
          Platform: PC
               URL: http://wikitech.wikimedia.org/
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Site requests
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I was using w3m (0.5.2) to access the http://wikitech.wikimedia.org/ page, and
I get:

Not Acceptable

An appropriate representation of the requested resource /view/
Main_Page could not be found on this server.

Available variants:

  • view.php , type application/x-httpd-php

─────────────────────────────────────────────────────────────────────
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch mod_ssl
/2.2.8 OpenSSL/0.9.8g Server at wikitech.wikimedia.org Port 80

HTTP Request: 

        0x0030:         6b 4745 5420 2f76 6965 772f 4d61      GET./view/Ma
        0x0040:  696e 5f50 6167 6520 4854 5450 2f31 2e30  in_Page.HTTP/1.0
        0x0050:  0d0a 5573 6572 2d41 6765 6e74 3a20 7733  ..User-Agent:.w3
        0x0060:  6d2f 302e 352e 320d 0a41 6363 6570 743a  m/0.5.2..Accept:
        0x0070:  2074 6578 742f 6874 6d6c 2c20 7465 7874  .text/html,.text
        0x0080:  2f2a 3b71 3d30 2e35 2c20 696d 6167 652f  /*;q=0.5,.image/
        0x0090:  2a0d 0a41 6363 6570 742d 456e 636f 6469  *..Accept-Encodi
        0x00a0:  6e67 3a20 677a 6970 2c20 636f 6d70 7265  ng:.gzip,.compre
        0x00b0:  7373 2c20 627a 6970 2c20 627a 6970 322c  ss,.bzip,.bzip2,
        0x00c0:  2064 6566 6c61 7465 0d0a 4163 6365 7074  .deflate..Accept
        0x00d0:  2d4c 616e 6775 6167 653a 2065 6e3b 713d  -Language:.en;q=
        0x00e0:  312e 300d 0a48 6f73 743a 2077 696b 6974  1.0..Host:.wikit
        0x00f0:  6563 682e 7769 6b69 6d65 6469 612e 6f72  ech.wikimedia.or
        0x0100:  670d 0a0d 0a                             g....

HTTP Response:

        0x0030:            4854 5450 2f31 2e31 2034 3036      HTTP/1.1.406
        0x0040:  204e 6f74 2041 6363 6570 7461 626c 650d  .Not.Acceptable.
        0x0050:  0a44 6174 653a 2054 7565 2c20 3234 204e  .Date:.Tue,.24.N
        0x0060:  6f76 2032 3030 3920 3030 3a33 323a 3138  ov.2009.00:32:18
        0x0070:  2047 4d54 0d0a 5365 7276 6572 3a20 4170  .GMT..Server:.Ap
        0x0080:  6163 6865 2f32 2e32 2e38 2028 5562 756e  ache/2.2.8.(Ubun
        0x0090:  7475 2920 5048 502f 352e 322e 342d 3275  tu).PHP/5.2.4-2u
        0x00a0:  6275 6e74 7535 2e37 2077 6974 6820 5375  buntu5.7.with.Su
        0x00b0:  686f 7369 6e2d 5061 7463 6820 6d6f 645f  hosin-Patch.mod_
        0x00c0:  7373 6c2f 322e 322e 3820 4f70 656e 5353  ssl/2.2.8.OpenSS
        0x00d0:  4c2f 302e 392e 3867 0d0a 416c 7465 726e  L/0.9.8g..Altern
        0x00e0:  6174 6573 3a20 7b22 7669 6577 2e70 6870  ates:.{"view.php
        0x00f0:  2220 3120 7b74 7970 6520 6170 706c 6963  ".1.{type.applic
        0x0100:  6174 696f 6e2f 782d 6874 7470 642d 7068  ation/x-httpd-ph
        0x0110:  707d 207b 6c65 6e67 7468 2036 357d 7d0d  p}.{length.65}}.
        0x0120:  0a43 6f6e 7465 6e74 2d4c 656e 6774 683a  .Content-Length:
        0x0130:  2035 3234 0d0a 436f 6e6e 6563 7469 6f6e  .524..Connection
        0x0140:  3a20 636c 6f73 650d 0a43 6f6e 7465 6e74  :.close..Content
        0x0150:  2d54 7970 653a 2074 6578 742f 6874 6d6c  -Type:.text/html
        0x0160:  3b20 6368 6172 7365 743d 6973 6f2d 3838  ;.charset=iso-88
        0x0170:  3539 2d31 0d0a 0d0a 3c21 444f 4354 5950  59-1....<!DOCTYP
        0x0180:  4520 4854 4d4c 2050 5542 4c49 4320 222d  E.HTML.PUBLIC."-
        0x0190:  2f2f 4945 5446 2f2f 4454 4420 4854 4d4c  //IETF//DTD.HTML
        0x01a0:  2032 2e30 2f2f 454e 223e 0a3c 6874 6d6c  .2.0//EN">.<html
        0x01b0:  3e3c 6865 6164 3e0a 3c74 6974 6c65 3e34  ><head>.<title>4
        0x01c0:  3036 204e 6f74 2041 6363 6570 7461 626c  06.Not.Acceptabl
        0x01d0:  653c 2f74 6974 6c65 3e0a 3c2f 6865 6164  e</title>.</head
        0x01e0:  3e3c 626f 6479 3e0a 3c68 313e 4e6f 7420  ><body>.<h1>Not.
        0x01f0:  4163 6365 7074 6162 6c65 3c2f 6831 3e0a  Acceptable</h1>.


Good to watch out when implementing bug 16659 and bug 17981.

Does not seem to be a MediaWiki problem, since https://wiki.toolserver.org/
works fine with w3m.

Changing skin with ?useskin does not help.

Apache content negotiation problem?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to