From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 15:31:51 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F24816A420 for ; Wed, 29 Mar 2006 15:31:51 +0000 (UTC) (envelope-from nvidican@wmptl.com) Received: from wmptl.net (mail.wmptl.com [216.8.159.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id B21BA43D86 for ; Wed, 29 Mar 2006 15:31:41 +0000 (GMT) (envelope-from nvidican@wmptl.com) Received: from [10.0.0.104] (r3140ca.wmptl.net [10.0.0.104]) by wmptl.net (8.13.4/8.13.4) with ESMTP id k2TFVdnf032645; Wed, 29 Mar 2006 10:31:39 -0500 (EST) (envelope-from nvidican@wmptl.com) Message-ID: <442AA86D.7080601@wmptl.com> Date: Wed, 29 Mar 2006 10:31:57 -0500 From: Nathan Vidican User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: darryl@osborne-ind.com References: <002401c65344$b323fec0$0701a8c0@darryl> In-Reply-To: <002401c65344$b323fec0$0701a8c0@darryl> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.54 on 10.0.0.80 Cc: questions@freebsd.org Subject: Re: Apache config question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 15:31:51 -0000 Darryl Hoar wrote: > Greetings, > I have a Freebsd 6.0-Release system that I just > installed. I have installed Apache 1.3.33 from the > ports system. > > I can see the index.html file when I point my browser > to the server. What I can't do is : > > browse to : http://server/cgi-bin/cscripts/myscript.cgi > > I get a 404 Not found. > The requested URL /cgi-bin/myscript.cgi was not found > on this server. > > The file myscript.cgi is located in the /usr/local/www/cgi-bin > directory. I verified this. > > I have added: > > deny from all > Options ExecCGI > AllowOverride AuthConfig > Order deny,allow > > > to the http.conf file. > I did /usr/local/sbin/apachectl stop > /usr/local/sbin/apachectl start. > > of course /usr/local/sbin/apachectl configtest says the config file is OK. > > What am I missing here ? > > thanks, > Darryl > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > First, and foremost - check the Apache error log, and make sure it's looking where you expect it to. You might find a line saying "File not found: /usr/some/where/you/didnot/expect/cgi-bin" ... next, check the permissions of the sub-dir you created in cgi-bin, and lastly, the permissions of the cgi-bin itself, both should be world read/executable. -- Nathan Vidican nvidican@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmptl.com/