Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Russell Cirrincione on June 09, 2000, 04:55:47 AM
-
I know this may be a complicated question (I've spent most of the week trying)
I can't run CGI scripts.
I'm running E-Smith 3.0
I'm trying to run a perl CGI script in the cgi-bin folder in an information bay.
I've installed perl, mod_perl, the permissions are correct via chmod.
the chown is at (user=admin) (group=shared)
I'm new at scripting. But I'm able to run a sample script from the shell (getting errors for any web browser calls)
But when I point the browser to Http://domain.com/IBAY/CGI-BIN/Script.cgi
I get a 500 error in IE5.1.
do I need that mod_cgi.pl file? where do I put it?
I'm assuming it doesn't matter for permissions on files as long as it is executable by "others"
EssentiALLY i need to know what i have to set in the config files to make the ibays cgi work.
thanks
-
First of all, type:
tail -f /var/log/httpd/error_log
and see what the actual error is. This may help a bit.
-
Hey Mike,
I was having the same problem running scripts.
Thanks for that tip. I was begining to pull my hair out.
The last message in my log is: "Premature end of script headers: /.../.../..mailform.pl.
Where do I go from here??
Orville
-
Orville wrote:
> Hey Mike, I was having the same problem running scripts.
> Thanks
> for that tip. I was begining to pull my hair out. The last
> message in my log is: "Premature end of script headers:
> /.../.../..mailform.pl.
>
> Where do I go from here??
Does the script run from the command line? Search the web and you will find things like:
http://www.worldwidemart.com/scripts/faq/
that might help you solve your problem.
Regards
Charlie