Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Error accessing cgi scripts from web

Quote Reply
Error accessing cgi scripts from web
Hi,

I am having difficulty installing links on a unix machine, Ive changed the location of perl and setup all the permissions but when I access the scripts from the web I get a 500 error I can run all the scripts from shell and they give the following output which tells me that the script is installed ok doesnt it?

Quote:


$ ./admin.cgi
Content-type: text/html

<PRE>

CGI ERROR
==========================================
Error Message : You cant run this script from telnet/shell.
Script Location : ./admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
BLOCKSIZE : K
EDITOR : vi
ENV : /hsphere/local/home/system/.shrc
FTP_PASSIVE_MODE : YES
HOME : /hsphere/local/home/system
LOGNAME : system
MAIL : /var/mail/system
OLDPWD : /hsphere/local/home/system/database.webidentity.com.au/admin/data
PAGER : more
PATH : /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/hsphere/local/home/system/bin
PWD : /hsphere/local/home/system/database.webidentity.com.au/admin
SHELL : /bin/sh
SSH_CLIENT : 203.59.101.18 4331 22
SSH_TTY : /dev/ttyp0
TERM : vt100
USER : system

</PRE>$


I have had a look in the error log and this is what it reads

Quote:


[Wed Feb 26 06:03:59 2003] [error] [client 203.14.169.17] Premature end of script headers: /hsphere/local/home/system/database.webidentity.com.au/admin/admin.cgi


Any help would be much appreciated, Ive used links before and it would be perfect for us.

Thanks,

David
Subject Author Views Date
Thread Error accessing cgi scripts from web daveaus 3472 Feb 26, 2003, 12:17 AM
Post Re: [daveaus] Error accessing cgi scripts from web
Paul 3423 Feb 26, 2003, 1:05 AM
Thread Re: [daveaus] Error accessing cgi scripts from web
daveaus 3405 Feb 26, 2003, 1:14 AM
Post Re: [daveaus] Error accessing cgi scripts from web
tandat 3348 Mar 17, 2003, 10:59 PM