[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RE Help: Cannont get Perl script to run



Hello

If nothing else works I suggest going in and getting dirty, Telnet into the
raq as Super User, move to the /etc/httpd/conf. Before you go any further
backup the [srm.conf]file, you'll see why. Open the srm.conf file and scroll
down to mid way until you come across the following lines:


Action cgi-wrapperd /cgiwrapDir/cgiwrapd
AddHandler cgi-wrapperd .cgi
AddHandler cgi-wrapperd .pl

Now Change these to

Action cgi-wrapperd /cgiwrapDir/cgiwrapd
AddHandler cgi-wrapperd .cgid
AddHandler cgi-wrapperd .pld

Exit and save as srm.conf.

Upload your scripts again and once uploaded rename them to either cgid or
pld.e.g Formail.cgid. Launch your browser and call up the script, hopefully
the results will be scrolls of data text. This output will explain where the
script is tripping up. Go back and modify. Check again. Once working rename
the files back to cgi/pl and set the permissions again.

Bobs your uncle.

Jonathan