Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Sidney 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
-
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
-
> 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
-
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
-
Thanks scott