Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 98881 invoked by uid 500); 27 Dec 2001 16:50:03 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 98870 invoked from network); 27 Dec 2001 16:50:03 -0000 Received: from tomts14.bellnexxia.net (HELO tomts14-srv.bellnexxia.net) (209.226.175.35) by daedalus.apache.org with SMTP; 27 Dec 2001 16:50:03 -0000 Received: from bronfman504 ([65.94.8.249]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with SMTP id <20011227165005.IYDZ6216.tomts14-srv.bellnexxia.net@bronfman504> for ; Thu, 27 Dec 2001 11:50:05 -0500 From: "Joshua Slive" To: Subject: RE: CGI Issue Date: Thu, 27 Dec 2001 11:52:41 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Lawrence, Sean [mailto:slawrence@seveninteractive.com] > > I thought I setup Apache correctly to use CGI > > I set up a user then added that user as User and Group in Apache, > docroot is > set to that users home directory. I then setup the vhost and the line > Options ExecCGI > AddHandler cgi-script .cgi > > But when I try to view any files *.cgi it throws a 403 and the > log says that > ExecCGI isn't turned in that directory > The files are permissioned correctly. > Anybody have an idea? Can you tell me specifically what documentation you are reading? I have seen this problem MANY times over the past few months, and if you are reading something in the apache documentation, then it needs to be improved. Anyway, the problem is that you don't properly understand how the Options directive works. See http://httpd.apache.org/docs/mod/core.html#options for all the details. The important point is that Options directives that apply to particular s will override an Options directive applying in the main server or context. So you need to either add "ExecCGI" to the Options that already applies to the relevant or add something like Options +ExecCGI Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org