Koozali.org: home of the SME Server

cgi scripts not running from primary

pwinkler

cgi scripts not running from primary
« 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

MikeH

Re: cgi scripts not running from primary
« Reply #1 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!!!

pwinkler

cgi scripts not running from primary
« Reply #2 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!

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
cgi scripts not running from primary
« Reply #3 on: March 16, 2004, 09:39:58 PM »
Could you find out the details and post a fix to this, please.
......