From owner-freebsd-questions Thu Nov 6 13:02:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA13194 for questions-outgoing; Thu, 6 Nov 1997 13:02:59 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA13188 for ; Thu, 6 Nov 1997 13:02:55 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.7) with SMTP id NAA00827; Thu, 6 Nov 1997 13:02:07 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 6 Nov 1997 13:02:07 -0800 (PST) From: Doug White Reply-To: Doug White To: Greg Bedrossian cc: freebsd-questions@FreeBSD.ORG Subject: Re: CGI Script - Path not found In-Reply-To: <3462026F.2E004B40@gcsl.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 6 Nov 1997, Greg Bedrossian wrote: > I don't know if this subject is appropriate for this particular email > address, but if anyone can help we would be grateful. > > I am running FreeBSD V2.2.2 with Apache. I have checked all the config > files within /usr/local/etc/apache and everything seems in order. Yet, > when I direct a CGI inquiry from a web site to a CGI file in my > /usr/local/www/cgi-bin directory, the browser gives an error to say that > "the path given was not found or there is no such file". > > The Server itself works fine if you URL to the host, the Web Site comes > right up. So at least I know Apache is working. Why am I unable to URL > into my CGI file as above.? Check the error_log for any message. srm.conf for the following line: ScriptAlias /cgi-bin/ /usr/local/www/cgi-bin/ Also make sure that this line is in there: AddHandler cgi-script .cgi Also verify that your script is executable by user `nobody'. Your Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major