From owner-freebsd-questions Sun Mar 3 1:50:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from MX3.Netwood.net (mx3.netwood.net [209.247.184.13]) by hub.freebsd.org (Postfix) with ESMTP id BBB9337B416 for ; Sun, 3 Mar 2002 01:50:43 -0800 (PST) Received: from netwood.net (mail.netwood.net [209.247.184.35]) by MX3.Netwood.net (Postfix) with ESMTP id 4B8045D005 for ; Sun, 3 Mar 2002 01:50:43 -0800 (PST) Date: Sun, 3 Mar 2002 01:56:23 -0800 Message-Id: <200203030156.AA385417454@netwood.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Jonas Fornander " Reply-To: To: Subject: Need help with configuring cgi-bin X-Mailer: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I wonder if someone could give me some hints on how to properly configure Apache to enable a cgi-bin in users directory. Scripts runs fine in the default ScriptAlias directory. According to the documentation at apache.org, I need to enable Addhandler cgi-script cgi (eventhou in httpd.conf it reads Addhandler cgi-script .cgi) and add a directory directive to the main configuration file where the scripts are. So I added: # in the manual it says to have path without " but ones again in # httpd.conf all directory have " around the path Options +ExecCGI I have tried both versions - with or without the " and with or without the "." When I try to run a .cgi script in the users cgi-bin I get a 403 permission denied error in the browser. Both the cgi-bin and the script is chmod to 755. In the httpd-error.log I have the following error: Options ExecCGI is off in this directory What am I missing? Jonas Fornander Netwood Communications,LLC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message