From owner-freebsd-questions Mon May 25 10:36:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA27478 for freebsd-questions-outgoing; Mon, 25 May 1998 10:36:48 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from couatl.uchicago.edu (couatl.uchicago.edu [128.135.21.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA27436 for ; Mon, 25 May 1998 10:36:34 -0700 (PDT) (envelope-from sfarrell@couatl.uchicago.edu) Received: (from sfarrell@localhost) by couatl.uchicago.edu (8.9.0.Beta5/8.9.0.Beta5) id MAA02649; Mon, 25 May 1998 12:36:29 -0500 (CDT) To: "Min Huang" Cc: questions@FreeBSD.ORG Subject: Re: How to setup Apache Web Server to use PERL cgi References: <19980525090708.26372.qmail@hotmail.com> From: sfarrell+lists@farrell.org Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 25 May 1998 12:36:29 -0500 In-Reply-To: "Min Huang"'s message of "Mon, 25 May 1998 02:07:08 PDT" Message-ID: <87wwbaxnfm.fsf@couatl.uchicago.edu> Lines: 21 X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Min Huang" writes: > I'm running a FreeBSD 2.2.5 box, I installed Apache and PERL 5.004 > came with the FreeBSD 2.2.5 CDROM and set the cgi-bin as the > executable directory. I put some perl program in that directory, but > every time I run them, just got a internal error. Why? Can anyone > direct me how to set Apache Web Server to use PERL cgi? Thanks. Not really a freebsd--more of an apache question so I'd direct future questions in that direction... (see http://apache.org for mailing list, etc) Anyway, you want to check the errorlog (see where it is by looking at your httpd.conf file)--stderr goes there w/apache and you'll probably see what the problem is. Remember to get your mime headers right.... or Use CGI.pm... and so on. -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message