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=24501>.
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=24501

NPH script (perl/mod_perl)

           Summary: NPH script (perl/mod_perl)
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


It seems that nph doesn't work. Example

http://roquefort.di.unipi.it/cgi-bin/nph-test-CGI.pl

<code>
#!/usr/bin/perl
use CGI qw/:standard/;
$|=1; print header();
for (1..20){ print "The current time is ",scalar(localtime),"<BR>\n"; sleep 1; }
</code>

The strange thing is that this work
http://roquefort.di.unipi.it/cgi-bin/nph-test-CGI.pl.txt
Same code as above !

Another example:

http://roquefort.di.unipi.it/cgi-bin/nph-test-raw-print.pl
<code>
#!/usr/bin/perl
print "HTTP/1.0 200 OK\r\n" if $0 =~ /nph-/;
print join("\r\n",
     'Content-type: text/html' . (defined $charset ? "; charset=$charset" :
        ''),
     'Pragma: no-cache',
     'Cache-control: must-revalidate, no-cache, no-store',
     'Expires: -1',
     "\r\n");
for (1..20){ print "The current time is ",scalar(localtime),"<BR>\n"; sleep 1;
</code>

And this doesn't work.
http://roquefort.di.unipi.it/cgi-bin/nph-test-raw-print.pl.txt

Am i wrong ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to