[Fri Nov 21 09:02:15 2008] [error] [client 76.17.99.50] Premature end of script headers: test_ult.cgi
####
#!/usr/bin/perl -w
use strict;
use warnings;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
$| = 1;
my $q = CGI->new();
print $q->header,
$q->start_html('test.cgi at ult****.com'),
$q->h1("Found me in ult****.com vhost "),
$q->end_html;
$| = 0;
1;
####
cgi-bin]# ./test_ult.cgi
Content-Type: text/html; charset=ISO-8859-1
test.cgi at ult****.com
Found me in ult****.com vhost
cgi-bin]#
####
grep apache /etc/passwd says:
apache:x:48:48:Apache:/var/www:/sbin/nologin