Missing conntent from some php apps when some headers exist in the get request
Delian Krustev <[email protected]> Wed, 14 Jul 2004 18:32:18 +0300
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hello, The only two differences in the get requests below are that the later one misses the Accept-Encoding header. Everything works fine except for horde-imp and myslqadmin. I've written other simple test php scripts and they are handled ok. text/html docs has no problem also. I'm using mod_layout-3.2.1 with apache 1.3.31. Mod layout config is as follows: LayoutMerge On LayoutHeader /cgi-bin/test.pl the test.pl just prints: ##### Content-type: text/html bla ##### The problem exists with static text also: LayoutHeader "<H1>Welcome to company FooBar</H1>" I've searched the list archives and found nothing similar. Any Ideas ? Thanks, Delian ****************************************************************** # telnet free.krustev.net 80 Trying 216.12.200.215... Connected to free.krustev.net (216.12.200.215). Escape character is '^]'. GET /webmail/imp/login.php?url=%2Fwebmail%2Flogin.php HTTP/1.1 Host: free.krustev.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en, bg;q=0.66, en-us;q=0.33 Accept-Encoding: gzip, deflate, compress;q=0.9 Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 Keep-Alive: 300 Connection: keep-alive HTTP/1.1 200 OK Date: Wed, 14 Jul 2004 15:16:15 GMT Server: Apache X-Powered-By: ModLayout/3.2.1 Set-Cookie: Horde=36504bae1aed27f019825fd2b9c68514; path=/webmail; domain=free.krustev.net Pragma: no-cache Cache-Control: no-cache Connection: close Transfer-Encoding: chunked Content-Type: text/html 7 bla 0 Connection closed by foreign host. ***************************************************************** # telnet free.krustev.net 80 Trying 216.12.200.215... Connected to free.krustev.net (216.12.200.215). Escape character is '^]'. GET /webmail/imp/login.php?url=%2Fwebmail%2Flogin.php HTTP/1.1 Host: free.krustev.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en, bg;q=0.66, en-us;q=0.33 Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 Keep-Alive: 300 Connection: keep-alive HTTP/1.1 200 OK Date: Wed, 14 Jul 2004 15:17:22 GMT Server: Apache X-Powered-By: ModLayout/3.2.1 Set-Cookie: Horde=967fba20e010261b4341b51c442b4763; path=/webmail; domain=free.krustev.net Pragma: no-cache Cache-Control: no-cache Connection: close Transfer-Encoding: chunked Content-Type: text/html 2ba <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <!-- IMP: Copyright 2001-2003, The Horde Project. IMP is under the GPL. --> <!-- Horde Project: http://horde.org/ | IMP: http://horde.org/imp/ --> <!-- GNU Public License: http://www.fsf.org/copyleft/gpl.html --> <html lang="en-US"><head> rest of content cutted out ... **********************************************************************