Re: [LIP] perl & CGI

Chandrashekar Babu <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Organization www.chandrashekar.info
Message-ID <[email protected]>
> im running perl CGI scripts in my house.when i
> tried to execute a CGI script, im getting the error
> "premature end of script header".what may be the
> common cause.i dont find any syntax error in my
> program.

Perhaps you forgot to set executable permissions for your CGI script ?
[try 'chmod +x hello.cgi'. Of course, replace hello.cgi with your script
path].

Cheers,
Chandrashekar Babu.


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.