Koozali.org: home of the SME Server

cgi scripts

Sidney

cgi scripts
« on: August 22, 2001, 01:58:46 AM »
Hello,
 
  I am looking for a cgi script that generates webpages.
could you tell me a little about it and if it cost any thing.



Thanks

Sidney

Re: cgi scripts
« Reply #1 on: August 22, 2001, 02:18:10 AM »
I have one more question.

is perl located un the director /usr/bin/perl ?
what path should I set so that a cgi script can us perl ?

what verion of perl is installed on 4.1.2 e-smith ?


thanks

Scott Smith

Re: cgi scripts
« Reply #2 on: August 22, 2001, 02:28:09 AM »
> is perl located un the director /usr/bin/perl ?
> what path should I set so that a cgi script can us perl ?

[root@maildev /root]# which perl
/usr/bin/perl

To force your scripts to use perl, put the follow as the FIRST line of the script:

#!/usr/bin/perl

> what verion of perl is installed on 4.1.2 e-smith ?

[root@maildev /root]# rpm -q perl
perl-5.00503-12

Scott

Scott Smith

Re: cgi scripts
« Reply #3 on: August 22, 2001, 02:29:45 AM »
Re the perl version -- that is from an older e-smith server. Current 4.1.2 uses:

[root@e-smith /root]# rpm -q perl
perl-5.6.0-9

Sorry about that :-/

Scott

sidney

Re: cgi scripts
« Reply #4 on: August 22, 2001, 04:51:18 AM »
Thanks scott