From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 16:21:34 2006 Return-Path: X-Original-To: freebsd-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 E748F16A400 for ; Wed, 29 Mar 2006 16:21:34 +0000 (UTC) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8AAF43D6A for ; Wed, 29 Mar 2006 16:21:33 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id 8A62713C7DB; Wed, 29 Mar 2006 10:23:25 -0600 (CST) Received: by bravo.pjkh.com (Postfix, from userid 1000) id 2B98F13C7C0; Wed, 29 Mar 2006 10:23:25 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id 28E5113C404; Wed, 29 Mar 2006 10:23:25 -0600 (CST) Date: Wed, 29 Mar 2006 10:23:25 -0600 (CST) From: Philip Hallstrom To: Darryl Hoar In-Reply-To: <002401c65344$b323fec0$0701a8c0@darryl> Message-ID: <20060329102216.P85238@bravo.pjkh.com> References: <002401c65344$b323fec0$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-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 16:21:35 -0000 > 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 ? deny from all. Unless I'm reading it wrong, you're denying access to that directory for everyone. There's no "allow from ..." statement. -philip