From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 04:42:46 2005 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 A02E616A41F for ; Thu, 6 Oct 2005 04:42:46 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FF7E43D45 for ; Thu, 6 Oct 2005 04:42:44 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-91-227-82.san.res.rr.com [66.91.227.82]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j964ggfq010396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Oct 2005 21:42:43 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20051005213518.0523d780@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Wed, 05 Oct 2005 21:41:05 -0700 To: Garrett Cooper , FreeBSD Questions From: Glenn Dawson In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: Enabling cgi scripts in apache 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: Thu, 06 Oct 2005 04:42:46 -0000 At 09:31 PM 10/5/2005, Garrett Cooper wrote: >Hi, > Just having problems again enabling cgi script execution in >apache. The script exists, it's the right set of permissions, and the >perl interpreter is reference correctly, as well as the following >line in the httpd.conf file: > > AddHandler cgi-script .cgi Without being able to see the config, the name of the script, the contents of the script, or the directory it's in, the simple stuff comes to mind. Does the AddHandler directive actually apply to the directory that contains the script? Does the script end in .cgi ? What shows up in your apache error log? What error shows up in the browser when you try to browse to the script? -Glenn > I also restarted the server, so I'm not sure what I'm missing >out on. Any ideas? > Versions: > >gman@sprsd$ perl --version > >This is perl, v5.8.6 built for i386-freebsd-64int >(with 2 registered patches, see perl -V for more detail) > >Copyright 1987-2004, Larry Wall > >Perl may be copied only under the terms of either the Artistic >License or the >GNU General Public License, which may be found in the Perl 5 source kit. > >Complete documentation for Perl, including FAQ lists, should be found on >this system using `man perl' or `perldoc perl'. If you have access >to the >Internet, point your browser at http://www.perl.org/, the Perl Home >Page. > >gman@sprsd$ httpd -v >Server version: Apache/1.3.33 (Unix) >Server built: Apr 4 2005 01:29:24 > > Thanks for the help in advance! >-Garrett >_______________________________________________ >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"