LPM: ATP (All Terrain Perl)
Joe Hourcle
oneiros at dcr.net
Thu Apr 20 15:20:58 CDT 2000
On Thu, 20 Apr 2000, David Hempy wrote:
> At 10:36 AM 4/20/00 -0400, you wrote:
> >if you're using an older server, you may have to make sure that the CGI
> >starts with 'nph-' (so the server doesn't decide to buffer it).
>
> What starts with 'nph-'? The script name?
Yep. It's for 'Non Parsed Headers'
Although, now that I think about it, I think you're also required to
return a status code if your script's to be nph, so you'd have to
instead print:
$ENV{'SERVER_PROTOCOL'} 200 OK
Server: $ENV{'SERVER_SOFTWARE'}
Content-type: text/plain
(and of course, an extra newline to end the headers.)
-----
Joe Hourcle
More information about the Lexington-pm
mailing list