Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2005 21:41:05 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        Garrett Cooper <youshi10@u.washington.edu>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Enabling cgi scripts in apache
Message-ID:  <6.2.3.4.2.20051005213518.0523d780@cobalt.antimatter.net>
In-Reply-To: <F73E2845-91A2-471B-BDB6-91DAC081323A@u.washington.edu>
References:  <F73E2845-91A2-471B-BDB6-91DAC081323A@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.2.20051005213518.0523d780>