Re: [LIP] perl & CGI
Kenneth Gonsalves <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 25 September 2004 08:29 pm, you wrote: > Hi Ravi, > > Ravi <austin_lovingly@...> wrote: > > tried to execute a CGI script, im getting the error > > "premature end of script header".what may be the > > common cause. > > What exactly is your CGI script doing? > > Anyway, the possible causes could be: > 1. Check the #!/path/to/perl is correctly specified in your script > 2. Specify Content-Type properly, like > Content-Type: text/html\r\n\r\n > 3. The CGI file should not be writable by group and others > 4. If your script is reading/writing to/from some file, it should have > proper permissions to read/write those file(s). also it may be trying to find a module that is not available - does the script run from the command line? -- regards kg http://www.onlineindianhotels.net - fastest hotel search website in the world http://www.ootygolfclub.org ------------------------------------------------------- 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