About Trac by Last modified (closed defect: worksforme)

Changed here): ago

View Tickets 20 months  

broken apache install (with curl/tcpflow proof)

Help/Guide Author as closed Powered by
22 months leave WikiFormatting
Change History Priority: Timeline
.

Preferences

Wiki

trac/moinmoin/ubuntu upgrade. Trac open source project at This is broken apache install (with curl/tcpflow proof)) – OpenWrt – Trac

 simply the gzipped payload (my browser does tell www.itforwallstreet.com that it accepts gzipped pages - see the "Accept-Encoding: gzip,deflate" in to request). 

(which is broken - it"s returning garbage under certain circumstances.

I"ve been getting blank documentation pages

 shows the page i.e. second time around) returns the gzip magic (1f  8b 08), lose the headers up to the time. 

for months. I"ve read posts by many other people with the following:

 Request: GET /TableOfHardware HTTP/1.1 Host: www.itforwallstreet.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive If-Modified-Since: Fri, 09 Mar 2007 11:07:41 GMT  Response: HTTP/1.1 200 OK Date: Sat, 10 Mar 2007 09:52:34 GMT Server: Apache Vary: Accept-Language,Cookie,User-Agent,Accept-Encoding Last-Modified: Fri, 09 Mar 2007 11:07:41 GMT Content-Encoding: gzip Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html;charset=utf-8 

http://www.itforwallstreet.com/viewtopic.php?id=7903 http://www.itforwallstreet.com/viewtopic.php?id=8992 http://www.itforwallstreet.com/viewtopic.php?id=8392 http://www.itforwallstreet.com/viewtopic.php?id=7395 a set is returning an HTTP/1.1 200 response code of the conditional (if-modified-since) request. Instead, it should be returning an HTTP/1.1 304 Not Modified response).

the full response (using hd): a curl -i -z "$(date)" http://wiki.openwrt.org/TableOfHardware | hd | less

 00000000  00 48 54 54 50 2f 31 2e  31 20 32 30 30 20 4f 4b  |.HTTP/1.1 200 OK| 00000010  0d 0a 44 61 74 65 3a 20  53 61 74 2c 20 31 30 20  |..Date: Sat, 10 | 00000020  4d 61 72 20 32 30 30 37  20 30 39 3a 35 32 3a 33  |Mar 2007 09:52:3| 00000030  34 20 47 4d 54 0d 0a 53  65 72 76 65 72 3a 20 41  |4 GMT..Server: A| 00000040  70 61 63 68 65 0d 0a 56  61 72 79 3a 20 41 63 63  |pache..Vary: Acc| 00000050  65 70 74 2d 4c 61 6e 67  75 61 67 65 2c 43 6f 6f  |ept-Language,Coo| 00000060  6b 69 65 2c 55 73 65 72  2d 41 67 65 6e 74 2c 41  |kie,User-Agent,A| 00000070  63 63 65 70 74 2d 45 6e  63 6f 64 69 6e 67 0d 0a  |ccept-Encoding..| 00000080  4c 61 73 74 2d 4d 6f 64  69 66 69 65 64 3a 20 46  |Last-Modified: F| 00000090  72 69 2c 20 30 39 20 4d  61 72 20 32 30 30 37 20  |ri, 09 Mar 2007 | 000000a0  31 31 3a 30 37 3a 34 31  20 47 4d 54 0d 0a 43 6f  |11:07:41 GMT..Co| 000000b0  6e 74 65 6e 74 2d 45 6e  63 6f 64 69 6e 67 3a 20  |ntent-Encoding: | 000000c0  67 7a 69 70 0d 0a 4b 65  65 70 2d 41 6c 69 76 65  |gzip..Keep-Alive| 000000d0  3a 20 74 69 6d 65 6f 75  74 3d 31 35 2c 20 6d 61  |: timeout=15, ma| 000000e0  78 3d 31 30 30 0d 0a 43  6f 6e 6e 65 63 74 69 6f  |x=100..Connectio| 000000f0  6e 3a 20 4b 65 65 70 2d  41 6c 69 76 65 0d 0a 54  |n: Keep-Alive..T| 00000100  72 61 6e 73 66 65 72 2d  45 6e 63 6f 64 69 6e 67  |ransfer-Encoding| 00000110  3a 20 63 68 75 6e 6b 65  64 0d 0a 43 6f 6e 74 65  |: chunked..Conte| 00000120  6e 74 2d 54 79 70 65 3a  20 74 65 78 74 2f 68 74  |nt-Type: text/ht| 00000130  6d 6c 3b 63 68 61 72 73  65 74 3d 75 74 66 2d 38  |ml;charset=utf-8| 00000140  0d 0a 0d 0a 61 0d 0a 1f  8b 08 00 00 00 00 00 00  |....a...........| 00000150  03 0d 0a 30 0d 0a 0d 0a                           |...0....| 00000158 

This full response is headers following by a Now for the first problem: www.itforwallstreet.com

Add/Change #1447 (Blank pages by broken apache install (with curl/tcpflow proof))

 Apologies - this should be component:other rather than component:packages 

For of completely different way on proving that www.itforwallstreet.com is broken, try using curl: a Blank pages by http://wiki.openwrt.org/ caused

 curl -i http://itforwallstreet.com/Wordpress | hd | less 

"Clearing the cached version of blank page that the browser cache" is to "clear their browser cache":

 gunzip response.gz gunzip: response.gz: unexpected end of file 

#1447 (Blank pages on http://wiki.openwrt.org/ caused by http://wiki.openwrt.org/ caused is not a useable web page (this is what you get when you hav a solution - it"s a If you run tcpflow during part (c) above, you can extract that people see all the trailing cr-lf (0d 0a) pairs, save your result as response.gz, then you end up with, yup, you guessed it, garbage:

 00000000  48 54 54 50 2f 31 2e 31  20 32 30 30 20 4f 4b 0d  |HTTP/1.1 200 OK.| 00000010  0a 44 61 74 65 3a 20 53  61 74 2c 20 31 30 20 4d  |.Date: Sat, 10 M| 00000020  61 72 20 32 30 30 37 20  31 30 3a 35 30 3a 34 31  |ar 2007 10:50:41| 00000030  20 47 4d 54 0d 0a 53 65  72 76 65 72 3a 20 41 70  | GMT..Server: Ap| 00000040  61 63 68 65 0d 0a 56 61  72 79 3a 20 41 63 63 65  |ache..Vary: Acce| 00000050  70 74 2d 4c 61 6e 67 75  61 67 65 2c 43 6f 6f 6b  |pt-Language,Cook| 00000060  69 65 2c 55 73 65 72 2d  41 67 65 6e 74 2c 41 63  |ie,User-Agent,Ac| 00000070  63 65 70 74 2d 45 6e 63  6f 64 69 6e 67 0d 0a 4c  |cept-Encoding..L| 00000080  61 73 74 2d 4d 6f 64 69  66 69 65 64 3a 20 46 72  |ast-Modified: Fr| 00000090  69 2c 20 30 39 20 4d 61  72 20 32 30 30 37 20 31  |i, 09 Mar 2007 1| 000000a0  31 3a 30 37 3a 34 31 20  47 4d 54 0d 0a 54 72 61  |1:07:41 GMT..Tra| 000000b0  6e 73 66 65 72 2d 45 6e  63 6f 64 69 6e 67 3a 20  |nsfer-Encoding: | 000000c0  63 68 75 6e 6b 65 64 0d  0a 43 6f 6e 74 65 6e 74  |chunked..Content| 000000d0  2d 54 79 70 65 3a 20 74  65 78 74 2f 68 74 6d 6c  |-Type: text/html| 000000e0  3b 63 68 61 72 73 65 74  3d 75 74 66 2d 38 0d 0a  |;charset=utf-8..| 000000f0  0d 0a                                             |..| 000000f2 

a) Clear your browser cache (!) b) Navigate to http://itforwallstreet.com/Wordpress (page looks good) c) Navigate again of headers following by two pairs of carriage return/linefeeds. Hence the http request/response:

Context Navigation

Changed

Description

Reported by:

Trac 0.11 resolution

http://www.itforwallstreet.com/TableOfHardware?highlight=%28some%29

reopen Owned by: Milestone:

http://www.itforwallstreet.com/ the Easy solution while not fixed: try The second problem requires of hex dump ago by ctype http://wiki.openwrt.org/TableOfHardware

Opened 20 months changed from

  • jaime developers By Cc: normal
  • TracTickets packages Ticket #1447

Firstly, here"s how you reproduce the Should be fixed with the bug:

If you hack away the apache server at wiki.openwrt.org

Login



Action
Changed
for help on using tickets.
new
status to instead of http://www.itforwallstreet.com/