Koozali.org: home of the SME Server

Path to cgi-bin?

David Hardy

Path to cgi-bin?
« on: August 17, 2002, 04:34:31 PM »
Hi,

Bit of a newbie, but managed to muddle along until this one came up!

SME 5.5 upgraded from clean install of 5.1.2 (for the jukebox blade, prior to the Netjuke How-to released last week!)

I have a script for sending SMS messages through www.sms-wap.com, the script is called from a web page called sms.htm, the problem is that I think I've got the path to the script wrong - permissions are set as 755.

The #! line is the same as a script that I have (which I run directly, not linked by a web page) that works OK.

Here is the relevant bit of my sms.htm file, followed by the initial 'configurable' part of the sms.cgi file.




#!/usr/bin/perl
#
# This example demonstrates how to submit a SMS message to the
# NovelSoft SMSC from a CGI Perl script
#
# Roger Thomasson, NovelSoft Ltd.
# 16-OCT-1999
#
# Erwin Huber, NovelSoft Ltd.
# 12-JUN-2001


use CGI;
use IO::Socket;

$cgi = new CGI;


Any suggestions, or even alternative scripts for www.sms-wap.com, will be gratefully received!

TIA

David.