var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
perl scripts not running...
Quite new to RAQ's, bought one recently as a "learning project", however have got a bit stuck.
I've uploaded a basic script (in ascii & chmod'ed) which should just print a string to the screen, however when I try to run it from a browser I get an Internal error message.
When I run the script from shell it works fine.
I believe its a owner / group thing but thats as far as I have got, anyone shed any light on this please.
it is chown'd by the site admin ?
whats the url so we can take a quick look ...
Have you remembered to add the line...
print "Content-type: text/html\n\n";
...as the first line of output from your code??
The site url is: pivo.gotdns.com
The script is pivo.gotdns.com/cgi-bin/sb.pl
Google is your friend :-) see here
I would be interested to know which Raq you have as the files should FTP up with the correct ownership.
in that directory from ssh do
ls -l -a
to list all the fiels and ownershipds
looks like you need to chown the file to the correct user (i.e. the site admin for pivo.gotdns.com
e.g chown pivoadmin.site123 *.pl
(chown user.group file)