*BSD News Article 83849


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.idt.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Apache doesn't know about sh script?
Date: 28 Nov 1996 22:30:30 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <57l3q6$hr0@uriah.heep.sax.de>
References: <E1IxFo.3EB.G.nanguo@nanguo.chalmers.com.au>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

robert@nanguo.chalmers.com.au (Robert Chalmers) wrote:

> I have a small sh shell script that will run fine under NCSA's httpd, but 
> under Apache, it wont run at all. In the cgi-bin dir of course, but
> just no way does Apache want to know about it.
> 
> Any ideas what the prob is?

It's perhaps not execve()'able?

Put an #!/bin/sh on top, to make it an `interpreted executable'.  See
exexve(2) for more details.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)