From owner-freebsd-questions@FreeBSD.ORG Sun Mar 6 22:24:33 2005 Return-Path: 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 DB74E16A4CE for ; Sun, 6 Mar 2005 22:24:33 +0000 (GMT) Received: from prosporo.hedron.org (hedron.org [66.11.182.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83E6C43D2F for ; Sun, 6 Mar 2005 22:24:33 +0000 (GMT) (envelope-from ean@hedron.org) Received: from hedron.org (unknown [192.168.89.1]) by prosporo.hedron.org (Postfix) with ESMTP id 425E3C12C; Sun, 6 Mar 2005 17:24:41 -0500 (EST) Date: Sun, 6 Mar 2005 17:23:40 -0500 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) To: Shawn B From: Ean Kingston In-Reply-To: <20050306221902.57767.qmail@web30204.mail.mud.yahoo.com> Message-Id: <64869E23-8E8E-11D9-AE49-000A95D73348@hedron.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.553) cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: CGI script executing and Apache help (2nd try & important) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 22:24:34 -0000 On Sunday, March 6, 2005, at 05:19 PM, Shawn B wrote: > I am running FreeBSD-4.8 with Apache 1.3 installed. I > changed the htdocs directory in httpd.conf to > /home/user1/public_html/ and I added a /cgi-bin/ in > the same user directory. Scripts will not execute from > the cgi-bin, as the scripts contents are displayed in > the browser window. I went through httpd.conf using > the search feature in Easy Editor, editing sections > that have .cgi in it. Now, I am stumped as to how to > get the CGI scripts to execute. Try searching again. This time for 'cgi-bin'. You will notice there is a section similar to the htdocs bit that defines cgi-bin. If you are going to run a web server it might be prudent to go through the apache configuration and documentation site to try and understand what the configuration file has set up for you. You can find the web server documentation at: http://httpd.apache.org/docs/