httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Dassow <ja...@area319.de>
Subject Re: [users@httpd] Apache2 sends wrong header
Date Wed, 13 Nov 2002 14:50:28 GMT
Hi again,
correction, recently i've got the same for a ruby script... 

Now i believe that it is a apache-problem.
The '0' at the beginning and at the end are strange, also the '9d5'
before content.
A step closer, but still no clue what it could be.

regards,
simon


whole output:
---------
0

HTTP/1.1 200 OK
Date: Wed, 13 Nov 2002 13:46:00 GMT
Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

9d5
<font color="blue">PATH</font>: <font
color="green">/bin:/usr/bin:/usr/local/bin</font><br/>
<font color="blue">UNIQUE_ID</font>: <font
color="green">0SEZNNmghBsAAGMQ4IYAAAAC</font><br/>
<font color="blue">HTTPS</font>: <font color="green">on</font><br/>
<font color="blue">HTTP_HOST</font>: <font
color="green">admin.serva319.de</font><br/>
<font color="blue">HTTP_USER_AGENT</font>: <font
color="green">Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0)
Gecko/20020808</font><br/>
<font color="blue">HTTP_ACCEPT</font>: <font
color="green">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</font><br/>
<font color="blue">HTTP_ACCEPT_LANGUAGE</font>: <font
color="green">en-us, en;q=0.50</font><br/>
<font color="blue">HTTP_ACCEPT_ENCODING</font>: <font
color="green">gzip, deflate, compress;q=0.9</font><br/>
<font color="blue">HTTP_ACCEPT_CHARSET</font>: <font
color="green">ISO-8859-1, utf-8;q=0.66, *;q=0.66</font><br/>
<font color="blue">HTTP_KEEP_ALIVE</font>: <font
color="green">300</font><br/>
<font color="blue">HTTP_CONNECTION</font>: <font
color="green">keep-alive</font><br/>
<font color="blue">SERVER_SOFTWARE</font>: <font
color="green">Apache/2.0.43 (Unix) mod_ssl/2.0.43
OpenSSL/0.9.6g</font><br/>
<font color="blue">SERVER_NAME</font>: <font
color="green">admin.serva319.de</font><br/>
<font color="blue">SERVER_ADDR</font>: <font
color="green">217.160.132.27</font><br/>
<font color="blue">SERVER_PORT</font>: <font
color="green">443</font><br/>
<font color="blue">REMOTE_ADDR</font>: <font
color="green">217.7.97.231</font><br/>
<font color="blue">DOCUMENT_ROOT</font>: <font
color="green">/pool/www/serva319.de/admin/http</font><br/>
<font color="blue">SERVER_ADMIN</font>: <font
color="green">webmaster@serva319.de</font><br/>
<font color="blue">SCRIPT_FILENAME</font>: <font
color="green">/pool/www/serva319.de/admin/http/ruby.x</font><br/>
<font color="blue">REMOTE_PORT</font>: <font
color="green">54333</font><br/>
<font color="blue">GATEWAY_INTERFACE</font>: <font
color="green">CGI/1.1</font><br/>
<font color="blue">SERVER_PROTOCOL</font>: <font
color="green">HTTP/1.1</font><br/>
<font color="blue">REQUEST_METHOD</font>: <font
color="green">GET</font><br/>
<font color="blue">QUERY_STRING</font>: <font color="green"></font><br/>
<font color="blue">REQUEST_URI</font>: <font
color="green">/ruby.x</font><br/>
<font color="blue">SCRIPT_NAME</font>: <font
color="green">/ruby.x</font><br/>

0
---------

On Wed, 2002-11-13 at 14:05, Simon Dassow wrote:
> Hi all,
> i'm currently using apache2 with php, running it as cgi-version thru
> suexec.
> No problem yet, but when it comes to SSL, i'm getting strange headers.
> 
> Example:
> --------
> 0
> 
> HTTP/1.1 200 OK
> Date: Mon, 11 Nov 2002 11:31:32 GMT
> Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g
> --------
> 
> The '0' is the reason why the browser offers the document to be
> downloaded.
> I dont know what to do... seems that its only happening with php, but
> php is sending the headers after that, so there must be something wrong.
> But other cgi-scripts (i.e. perl or ruby) are running fine, only with
> php i get those strange headers.
> 
> Some ideas? (I've posted allready a bugreport to the php developers, but
> the say it's a apache-problem (which i really cant believe) here:
> http://bugs.php.net/bug.php?id=20356 ).
> 
> Thanks and regards,
> simon
> 
> 
> ---------------------------------------------------------------------
> 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
> 


Mime
View raw message