httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22898] New: - nph scripts with two HTTP header
Date Tue, 02 Sep 2003 21:39:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22898>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22898

nph scripts with two HTTP header

           Summary: nph scripts with two HTTP header
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mara@chlup.net


Hi!

my conf:
--------
AddHandler application/x-httpd-eperl .phtml
Action application/x-httpd-eperl /cgi-bin/nph-test

my request:
-----------
telnet myhost 80
GET /test/t1.phtml HTTP 1.1
Host: myhost

apache send me:
---------------
HTTP/1.1 200 OK
Content-Type: text/plain

Hello!
HTTP/1.1 200 OK
Date: Tue, 02 Sep 2003 21:27:38 GMT
Server: Apache/2.0.47 (Debian GNU/Linux) mod_perl/1.99_09 Perl/v5.8.0
mod_ssl/2.0.47 OpenSSL/0.9.7b
Content-Length: 0
Connection: close
Content-Type: application/x-httpd-php

my script nph-test:
-------------------
#!/usr/bin/perl
print "HTTP/1.1 200 OK\n";
print "Content-Type: text/plain\n\n";
print "Hello!\n";

where is bug?
-------------
My script noprint seccond HTTP header. Why apache generate second header?

Bye
Marek

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message