You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Frank Rust <f....@tu-bs.de> on 2001/11/29 17:28:04 UTC
mod_cgi/8902: nph-cgi doesn't do the same as in apache 1.3.x
>Number: 8902
>Category: mod_cgi
>Synopsis: nph-cgi doesn't do the same as in apache 1.3.x
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Nov 29 08:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: f.rust@tu-bs.de
>Release: 2.0.28
>Organization:
apache
>Environment:
Linux 2.4.16 #3 Wed Nov 28 13:45:26 CET 2001 sparc64 unknown
gcc version 2.95.3 20010315 (SuSE)
apache 2.0.28 (configured default, except $prefix)
>Description:
following simple CGI-script:
nph-test:
> #!/bin/sh
>
> echo "HTTP/1.1 200 OK"
> echo "Date: Thu Nov 29 16:22:33 CET 2001"
> echo "Server: Apache"
> echo "Connection: close"
> echo "Content-Type: text/html"
> echo
> echo "<H1>ABC</H1>"
> echo "bla"
>
works fin on apache 1.3.12 and shows up a headline and a stupid text.
Using apache 2.0.28 I get
HTTP/1.1 200 OK
Date: Thu Nov 29 16:22:33 CET 2001
Server: Apache
Connection: close
Content-Type: text/html
<H1>ABC</H1>
bla
displayed in (m)any browser. When using telnet to the webserver(s)
I get exactly the same text answer from both systems?!@
>How-To-Repeat:
try
http://134.169.39.1/cgi-bin/nph-test (1.3.12)
versus
http://134.169.39.240/cgi-bin/nph-test (2.0.28)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]