in reply to Premature end of script headers more annoying than usual . . .

Thanks MidLifeXis:

Here is what I see:

[root@ cgi-bin]# echo "GET /var/www/vhosts/<vhost>/cgi-bin/test_ult.cg +i HTTP/1.0\n\n" | telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. [root@ cgi-bin]#
I'm not sure what that tells me, though. I get the same result when I address it only with the relative path from the URi (echo "POST /cgi-bin/test_ult.cgi HTTP/1.0\n\n" | telnet localhost 80). Any clues in your world?

-- Hugh

if( $lal && $lol ) { $life++; }
  • Comment on Re: Premature end of script headers more annoying than usual . . .
  • Download Code

Replies are listed 'Best First'.
Re^2: Premature end of script headers more annoying than usual . . .
by MidLifeXis (Monsignor) on Nov 21, 2008 at 15:42 UTC

    Yep, the server is not executing the script. I would go with moritz's response. It shows promise.

    --MidLifeXis