You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by zini10 <zi...@012.net.il> on 2005/02/22 22:39:12 UTC

[users@httpd] Really Strange Problem....

Hello, im new here...
i have the most strange problem...
my apache(1.3.33) is returning the content length as a hex number just after 
the headers and right before the actual content.
moreover, its adding "0" after the content itself....

a typical reply from it will be in the form of:

HTTP/1.1 200 OK

Date: Tue, 22 Feb 2005 21:30:36 GMT

Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 
mod_perl/1.29 FrontPage/5.0.2.2510

X-Powered-By: PHP/4.3.10

Keep-Alive: timeout=5, max=500

Connection: Keep-Alive

Transfer-Encoding: chunked

Content-Type: text/html

29b

<html><head><title>admin.off.co.il</title>

.

.<style>

.* { font-family: verdana; font-size: 10pt; COLOR: gray; }

.b { font-weight: bold; }

.table { height: 50%; border: 1px solid gray;}

.td { text-align: center; padding: 25;}

.</style></head>

<body>

<center>

<br /><br /><br /><br />

.<table>

.<tbody><tr><td>Welcome 111to the home of <b>admin.off.co.il</b></td></tr>

.<tr><td>To change this page, upload your website into the public_html 
directory</td></tr>

.<tr><td><img src="logo.jpg" /></td></tr>

.<tr><td style="font-size: 8pt;">Date Created: Mon Feb 21 17:53:18 
2005</td></tr>

.</tbody></table>

<br /><br />

</center>

</body></html>

0

the problem is this: "29b" and "0" at the end......
the problem gets even stranger when i noticed that all browsers are ignoring 
this values....
what could be the problem?
im working on linux ...

n.b. i checked to see if it's the php who's doing all the trouble but 
running php as root in ssh gave me perfect results....no content length 
there...


thanks  , sorry for my poor english... 




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Really Strange Problem....

Posted by zini10 <zi...@012.net.il>.
I Think this solves my strange problem...
thanks!

what a simple solution to what seem as a complex problem...

----- Original Message ----- 
From: "Phil Endecott" <sp...@chezphil.org>
Newsgroups: gmane.comp.apache.user
Sent: Wednesday, February 23, 2005 12:18 AM
Subject: Re: Really Strange Problem....


> zini10 wrote:
>> Hello, im new here...
>> i have the most strange problem...
>> my apache(1.3.33) is returning the content length as a hex number just 
>> after the headers and right before the actual content.
>> moreover, its adding "0" after the content itself....
>
>> Transfer-Encoding: chunked
>
> I think it's "transfer-encoding: chunked".  Look it up in the HTTP1.1 RFC.
>
> --Phil.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Really Strange Problem....

Posted by Phil Endecott <sp...@chezphil.org>.
zini10 wrote:
> Hello, im new here...
> i have the most strange problem...
> my apache(1.3.33) is returning the content length as a hex number just after 
> the headers and right before the actual content.
> moreover, its adding "0" after the content itself....

> Transfer-Encoding: chunked

I think it's "transfer-encoding: chunked".  Look it up in the HTTP1.1 RFC.

--Phil.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Really Strange Problem....

Posted by zini10 <zi...@012.net.il>.
Something i noticed just now, if i create a new user , he is unaffected by 
this strange problem....
it's making ever more bazar.....



----- Original Message ----- 
From: "zini10" <zi...@012.net.il>
Newsgroups: gmane.comp.apache.user
Sent: Tuesday, February 22, 2005 11:39 PM
Subject: Really Strange Problem....


> Hello, im new here...
> i have the most strange problem...
> my apache(1.3.33) is returning the content length as a hex number just 
> after the headers and right before the actual content.
> moreover, its adding "0" after the content itself....
>
> a typical reply from it will be in the form of:
>
> HTTP/1.1 200 OK
>
> Date: Tue, 22 Feb 2005 21:30:36 GMT
>
> Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 
> mod_perl/1.29 FrontPage/5.0.2.2510
>
> X-Powered-By: PHP/4.3.10
>
> Keep-Alive: timeout=5, max=500
>
> Connection: Keep-Alive
>
> Transfer-Encoding: chunked
>
> Content-Type: text/html
>
> 29b
>
> <html><head><title>admin.off.co.il</title>
>
> .
>
> .<style>
>
> .* { font-family: verdana; font-size: 10pt; COLOR: gray; }
>
> .b { font-weight: bold; }
>
> .table { height: 50%; border: 1px solid gray;}
>
> .td { text-align: center; padding: 25;}
>
> .</style></head>
>
> <body>
>
> <center>
>
> <br /><br /><br /><br />
>
> .<table>
>
> .<tbody><tr><td>Welcome 111to the home of <b>admin.off.co.il</b></td></tr>
>
> .<tr><td>To change this page, upload your website into the public_html 
> directory</td></tr>
>
> .<tr><td><img src="logo.jpg" /></td></tr>
>
> .<tr><td style="font-size: 8pt;">Date Created: Mon Feb 21 17:53:18 
> 2005</td></tr>
>
> .</tbody></table>
>
> <br /><br />
>
> </center>
>
> </body></html>
>
> 0
>
> the problem is this: "29b" and "0" at the end......
> the problem gets even stranger when i noticed that all browsers are 
> ignoring this values....
> what could be the problem?
> im working on linux ...
>
> n.b. i checked to see if it's the php who's doing all the trouble but 
> running php as root in ssh gave me perfect results....no content length 
> there...
>
>
> thanks  , sorry for my poor english...
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org