Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 69782 invoked by uid 500); 6 May 2003 22:25:49 -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 69766 invoked from network); 6 May 2003 22:25:49 -0000 Received: from ctb-mesg4.saix.net (196.25.240.76) by daedalus.apache.org with SMTP; 6 May 2003 22:25:49 -0000 Received: from netphere.megalan.co.za (rrba-bras-193-34.telkom-ipnet.co.za [165.165.193.34]) by ctb-mesg4.saix.net (Postfix) with ESMTP id 537DA661E for ; Wed, 7 May 2003 00:25:55 +0200 (SAST) Received: from [192.168.1.20] (helo=genocide) by netphere.megalan.co.za with asmtp (Exim 4.14) id 19DAsl-000ELt-pr for users@httpd.apache.org; Wed, 07 May 2003 00:25:55 +0200 Message-ID: <002101c3141e$7ff3bbc0$1401a8c0@genocide> Reply-To: "Chris Knipe" From: "Chris Knipe" To: References: <001201c3141b$2a4b8250$1401a8c0@genocide> <5.2.0.9.0.20030506183908.01a26a28@pop1.ns.sympatico.ca> <5.2.0.9.0.20030506183336.0163fe60@pop1.ns.sympatico.ca> <5.2.0.9.0.20030506183908.01a26a28@pop1.ns.sympatico.ca> <5.2.0.9.0.20030506184309.00b40470@pop1.ns.sympatico.ca> <5.2.0.9.0.20030506191006.00b5a4d0@pop1.ns.sympatico.ca> <5.2.0.9.0.20030506192101.01986968@pop1.ns.sympatico.ca> Date: Wed, 7 May 2003 00:26:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] CGI Error Ok, So the apache is more than likely not configured to execute .pl scripts... You'll need to configure apache accordingly now. ScriptAlias / / AddHandler cgi-script .cgi > Options ExecCGI FollowSymLinks as Steven has indicated. If you want apache to execute .pl scripts, then you need a AddHandler for that to tell apache what to do with .pl scripts... For example: AddHandler cgi-scripts .pl IMHO, just move the scripts to .cgi again - they should execute from the shell, regardless of the extensions. Apache would seem to me to only be configured to execute .cgi scripts. ----- Original Message ----- From: "Cody Harris" To: Sent: Wednesday, May 07, 2003 12:21 AM Subject: Re: [users@httpd] CGI Error > [root@vectec cgi-bin]# ./test.pl > Content-Type: text/html; charset=ISO-8859-1 > > > PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" > "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> > lang="en-US">Untitled Document > [root@vectec cgi-bin]# > > But internal error from Apache. > > And for the guy that wanted me to do all that stuff with dirs, you've got > me wondering what you mean. > > At 12:17 AM 5/7/2003 +0200, you wrote: > >#!/usr/bin/perl > > > >use CGI; > > > >$q = new CGI; # create new CGI object > >print $q->header, # create the HTTP header > > $q->start_html(''), # start the HTML > > $q->end_html; # end the HTML > >exit; > > > > --------------------------------------------------------------------- > 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 > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- 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 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org