rosehillcabin
02-22-2005, 05:36 PM
I'm trying to use an ssi script (<!--#exec cgi="/var/www/cgi-bin/tip.pl"-->) and keep getting an error message. Domain is nursewebs.com. What am I doing wrong?
|
View Full Version : ssi rosehillcabin 02-22-2005, 05:36 PM I'm trying to use an ssi script (<!--#exec cgi="/var/www/cgi-bin/tip.pl"-->) and keep getting an error message. Domain is nursewebs.com. What am I doing wrong? Jafo 02-22-2005, 06:48 PM This is because /var/www/cgi-bin/tip.pl is not a web path on our servers, it is a file path. Probably would be better to do this: (<!--#exec cgi="/cgi-bin/tip.pl"-->) or: (<!--#exec cgi="./cgi-bin/tip.pl"-->) Depending on where you are calling the page. rosehillcabin 02-23-2005, 01:38 PM Still no luck. I checked permissions but no go. Any ideas? rosehillcabin 02-23-2005, 02:48 PM Just read Site Administrator's Help and it reads: Important: High security could pose problems if the CGI scripts used by the site source required libraries or configuration files from outside the site’s file system, in which case, the necessary files will have to be copied across to the site's file system. For example, if a CGI script uses Perl, then all the Perl libraries and configuration files must be copied into the CGI directory. So, if this in fact the problem, how do I copy the perl files into the cgi-bin? Jafo 02-23-2005, 03:18 PM This should not be a problem with SSI. What error are you getting? rosehillcabin 02-23-2005, 03:30 PM [an error occurred while processing this directive] I do notice that the cfg.pl file calls a full path to perl. when I try to call the file per the browser i get a server error (no number). Jafo 02-23-2005, 03:33 PM Then you have an error in the perl file. You should contact the script developer. You may also find a better error message in your log file. rosehillcabin 02-23-2005, 03:35 PM The script did work on another server, site set at medium security. THink I'll just go the php route... thanks for your time! |