Help - Search - Members - Calendar
Full Version: Apache - Bad Output Compression?
The Planet Forums > Operating Systems > BSD
Iggy
Just upgraded apache, php, perl and having some strange occassional problems. Pages are returned blank here and there.

Apache/2.0.52 (FreeBSD) PHP/4.3.10 mod_ssl/2.0.52 OpenSSL/0.9.7e mod_perl/1.99_18 Perl/v5.8.5

The only browser that returns an error is Safari, others just blank pages
“bad server response” (NSURLErrorDomain:-1011)

Looking around on the web I can't find a definitive solution but it appears to be a problem with gzip compression going wrong.

Has anyone seen this before and can offer a solution? I've rebuilt apache, openssl, php, gzip multiple times with no luck.

httpd-errors look like
[Sun Jan 09 13:25:03 2005] [debug] ssl_engine_io.c(1478): | 02c0: 5e 4d 42 10 a1 73 34 97-c6 69 5e 59 92 04 73 c9 ^MB..s4..i^Y..s. |[Sun Jan 09 13:25:03 2005] [debug] ssl_engine_io.c(1478): | 02d0: f5 a5 83 c0 cb 4d 57 8f-d1 49 b9 b8 ab d1 93 69 .....MW..I.....i |[Sun Jan 09 13:25:03 2005] [debug] ssl_engine_io.c(1478): | 02e0: a5 8d 08 fb 8f fd 57 13-be 87 7b c7 86 cd 25 b2 ......W...{...%. |[Sun Jan 09 13:25:03 2005] [debug] ssl_engine_io.c(1478): | 02f0: 55 32 07 40 fc 66 79 d2-5e 21 ab 96 91 c4 28 85 U2.@.fy.^!....(. |[Sun Jan 09 13:25:03 2005] [debug] ssl_engine_io.c(1478): | 0300: 5b 06 [. |[Sun Jan 09 13:25:03 2005] [debug] ssl_engine_io.c(1484): +-------------------------------------------------------------------------+[Sun Jan 09 13:25:03 2005] [info] Initial (No.1) HTTPS request received for child 8 (server xxx.xxx.xxx.xxx:443)
[Sun Jan 09 13:25:03 2005] [debug] ssl_engine_kernel.c(1789): OpenSSL: Write: SSL negotiation finished successfully
[Sun Jan 09 13:25:03 2005] [info] Connection to child 8 closed with standard shutdown(server e.volve.net:443, client xxx.xxx.xxx.xxx)

with a corresponding error in messages
Jan 9 03:04:07 e kernel: pid 18479 (httpd), uid 0: exited on signal 11 (core dumped)

Thanks,
Iggy
tekprio
Did you use mod_gzip? If I remember it correctly, it is not quite compatible with Apache 2. Maybe that is why you are having problems. You may want to check out mod_deflate for Apache 2.
desus
Not sure if thats a problem on your side or just a safari bug. I get the same problem all the time on lots of sites (especially older phpbb sites).

If i try and load the same pages in IE I get a "page is null" error.

What pages cause the error?
Guspaz
I'm using Apache 2.0.x with mod_deflate and I have no trouble.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.