*BSD News Article 64162


Return to BSD News archive

#! rnews 1577 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!tetsuo.communique.net!news.timetrend.com!usenet
From: "James A. Tucker" <james@timetrend.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: CGI Scripts
Date: Tue, 12 Mar 1996 16:29:44 -0600
Organization: Internet Access Services
Lines: 18
Message-ID: <3145FAD8.3842@timetrend.com>
NNTP-Posting-Host: user52.timetrend.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win95; I)

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