From owner-freebsd-questions Tue May 27 21:43:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA22986 for questions-outgoing; Tue, 27 May 1997 21:43:10 -0700 (PDT) Received: from cs.nps.navy.mil (cs.nps.navy.mil [131.120.1.13]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id VAA22974 for ; Tue, 27 May 1997 21:43:03 -0700 (PDT) Received: from wes1 (slippc23.cs.nps.navy.mil) by cs.nps.navy.mil (4.1/SMI-4.1) id AA20134; Tue, 27 May 97 21:42:20 PDT Message-Id: <1.5.4.32.19970527214826.002eba2c@cs.nps.navy.mil> X-Sender: jwhester@cs.nps.navy.mil X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 27 May 1997 21:48:26 +0000 To: freebsd-questions@FreeBSD.ORG From: Wes Subject: Re: Perl script Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Additionally, make sure your web server is set up to allow Server Side Includes (SSI). Wes At 05:09 PM 5/27/97 -0400, you wrote: >On Tue, May 27, 1997 at 05:47:58PM +0300, Dmitri Baranov wrote: >[-- Warning: koi8-r is not compatible with your display.] > >> Hello. >> I have a problem I can't resolve. >> >> I have a file (counter.cgi) in /usr/home/dima/cgi-bin directory. >> The execution right is applied. >> The first line of file is "#!/usr/bin/perl" >> BUT ! >> when I am typing ">counter.cgi" I got a >> command not found. >> It works only in ">perl counter.cgi" variant. >> How can I start only "counter.cgi" ? > >Probably, the current dir is not in your path, so type instead: >> ./counter.cgi > ^^ > >-- > > > Donald J. Maddox > (dmaddox@scsn.net) > > > Wes Hester (408) 657-9849 Email: software@crosslogic.com