Forum Moderators: phranque
Premature end of script headers: abc.cgi
#!/usr/local/bin/perl
# hello.pl -- my first perl script!
print "Content-type: text/html\n\n";
print <<"EOF";
<HTML>
<HEAD>
<TITLE>Hello, world!</TITLE>
</HEAD>
<BODY>
<H1>Hello, world!</H1>
</BODY>
</HTML>
EOF
Content-type: text/html
<HTML>
<HEAD>
<TITLE>Hello, world!</TITLE>
</HEAD>
<BODY>
<H1>Hello, world!</H1>
</BODY>
</HTML>
[13]Permission denied: exec of 'var/www/cgi-bin/abc.cgi' failed
Premature end of script headers: abc.cgi
By the way, did you go through the topic link posted in my first post?
That member's problem got solved by changing group. I really have no idea what actually he did there. He has not mentioned it clearly.
Would you please take a look there?