*BSD News Article 63727


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.netusa1.net!mercury
From: glenn@netusa1.net
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: CGI Scripts
Date: Thu, 14 Mar 96 19:00:23 GMT
Organization: NetUSA1 Inc.	
Lines: 24
Message-ID: <4i9f04$c6m@news.netusa1.net>
References: <3145FAD8.3842@timetrend.com>
NNTP-Posting-Host: mercury.netusa1.net
X-Newsreader: News Xpress 2.0 Beta #0

In article <3145FAD8.3842@timetrend.com>, "James A. Tucker" <james@timetrend.com> wrote:
>I'm running BSDI 2.0 with the Apache Server.  I'm trying to run a 
>counter CGI script, but can't execute it after I've compiled it with 
>Perl.  The file is set to executable.  The access.conf file has the cgi 
>directory listed with ExecCGI and Includes as Options.  My srm.conf has 
>ScriptAlias /cgi-bin/ /usr/www/cgi-bin/ where the scripts are located.  
>The counter file has User Ownership of root and Group Ownership of 
>wheel.  Even if I log in as root it gives me 'command not found' when I 
>execute ./counter from /usr/www/cgi-bin.  My httpd.conf file has httpd 
>running as User www and Group www.  Will I need to change ownership of 
>counter to match?  I'm running csh shell.  Could there be a problem 
>running under this shell?  How hard can it be to set up a simple CGI 
>Script with SSI's?  Apparantly, I'm overlooking something.  I cannot get 
>it to work.  Any suggestions or knowledge would be greatly appreciated.
>
>James
>james@timetrend.com
>Time Trend Computers
>www.timetrend.com
Go get wwwcount2.2
It compiles cleanly or BSDI 2.0 , has fairly good docs, and doesn't require
ssi .
Includes counter, clock and date
<http://www.semcor.com/~muquit/>