> Hi,
>    My perl script which uses CGI module fails to work
> in Solaris giving Standard HTTP 500 Internal server
> error.I checked the Apache log. It says  "Premature
> end of script headers:"
> 
>   But it works fine in HPUX and Windows. Is there any
> thing That has to be take care of in Solaris.
>

Only that CGI be installed. Have you tried running the script from the
command line and checking its output?  Are the Perl versions, and CGI.pm
versions identical?  Generally the error you state is caused by either
failure to execute the script at all, or something being printed before
a proper header.  If you try to run the script from the command line be
sure to do it as the user the web server runs as, and note that the
environment when logged in at a shell will be different than that of the
web server's environment.
 
>   Thanks in Advance.
> 

See if you can provide more info,

http://danconia.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to