From owner-freebsd-questions Mon May 11 11:13:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA22043 for freebsd-questions-outgoing; Mon, 11 May 1998 11:13:14 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA22008 for ; Mon, 11 May 1998 11:13:05 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id LAA01189; Mon, 11 May 1998 11:13:00 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 11 May 1998 11:13:00 -0700 (PDT) From: Doug White Reply-To: Doug White To: Laszlo vagner cc: questions@FreeBSD.ORG Subject: Re: cqcam script & locking In-Reply-To: <355728C6.17DC917@kf7nn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 11 May 1998, Laszlo vagner wrote: > I added a link that says click href="www.kf7nn.com/cgi-bin/qcam.cgi>here to refresh. > and here is the script > > #!/bin/sh > > > if [ ! -x /usr/local/ftp/incoming/tempcam] > touch /usr/local/ftp/incoming/tempcam > /root/camera > rm /usr/local/ftp/incoming/tempcam > > fi > >

Hit reload to refresh

> > > here is the error its gotta be something dumb on my part cause i never > wrote these things before. > Internal Server Error Apache expects your CGI script to output some header lines. I suggest finding a good CGI programming guide to get you started. This is a classic CGI newbie error :) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message