Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: pwinkler on March 11, 2004, 04:08:44 AM

Title: cgi scripts not running from primary
Post by: pwinkler on March 11, 2004, 04:08:44 AM
We had a cgi script (index.cgi) working in sme 5.6, w
after a fresh install of sme 6.0 (tried an upgrade but it failed) the sane script no longer works!

What do we need to do to get this script to run from ../primary/html?

Pls help
Title: Re: cgi scripts not running from primary
Post by: MikeH on March 12, 2004, 10:51:33 AM
Quote from: "pwinkler"
We had a cgi script (index.cgi) working in sme 5.6, w
after a fresh install of sme 6.0 (tried an upgrade but it failed) the sane script no longer works!

What do we need to do to get this script to run from ../primary/html?

Pls help


Have had no problems with similar transfer.
Cgi script must be in cgi-bin
FTP the script in ASCII mode
chmod 755 filename
and away it should go?
My usual mistake is to forget to transfer in ASCII!!!
Title: cgi scripts not running from primary
Post by: pwinkler on March 16, 2004, 04:41:56 PM
Thanks for the reply but this is a "index.cgi" it belongs in /primary/html

Anyway thanks to Stephen Noble we found out what the prob is but I'm not sure of the details, something about custom templates!
Title: cgi scripts not running from primary
Post by: mrjhb3 on March 16, 2004, 09:39:58 PM
Could you find out the details and post a fix to this, please.