Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 15032 invoked from network); 8 Dec 2004 16:39:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Dec 2004 16:39:34 -0000 Received: (qmail 63859 invoked by uid 500); 8 Dec 2004 16:39:25 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 63823 invoked by uid 500); 8 Dec 2004 16:39:24 -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 63680 invoked by uid 99); 8 Dec 2004 16:39:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ns0b.swx.com (HELO ns0b.swx.com) (146.109.240.235) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Dec 2004 08:39:17 -0800 Received: from gate0a.unix.swx.ch (gate0a [192.168.252.17]) by ns0b.swx.com (8.12.10/8.12.10) with ESMTP id iB8Gd9EI028390 for ; Wed, 8 Dec 2004 17:39:09 +0100 (MET) Received: from SOMEXEVS001.ex.ordersx.org (localhost [127.0.0.1]) by gate0a.unix.swx.ch (8.12.10/8.12.10) with ESMTP id iB8Gd9TD009716 for ; Wed, 8 Dec 2004 17:39:09 +0100 (MET) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Date: Wed, 8 Dec 2004 17:39:09 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Importance: normal Priority: normal Thread-Topic: CGI scripts Thread-Index: AcTdQ9BLjmHSmnkASN2QdtsH7bvWNQAAEOdw From: "Boyle Owen" To: X-Virus-Checked: Checked Subject: RE: [users@httpd] CGI scripts X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Warron French [mailto:wfrench@xtria.com] > Sent: Mittwoch, 8. Dezember 2004 17:35 > To: Users Apache (E-mail) > Subject: [users@httpd] CGI scripts > > > Hello all, > > I have 2 servers, let's just label them as ti-dev (for > development) and tinet (the production server). Both are > Running Linux, however the production Server is running RH ES > Linux 3.0 and the development box is running RH 9.0. Both > have the CGI RPM installed. > > The production server called tinet is running by way of the > RPM perl-CGI-2.81-88.7.i386.rpm and the development server > (ti-dev) is running with perl-CGI-2.81-88.3.i386.rpm. > > Tinet is running Apache-2.0.52, and ti-dev is running Apache-2.0.40. > > My problem: > > ON ti-dev the following occurs with CGI scripts: > at a unix shell: the cgi/perl script produces the HTML coding. > in the web browser: the cgi/perl script produces the HTML > page as we expect it to look like. > > ON Tinet however, the following occurs with CGI scripts: > at a unix shell: the cgi/perl script produces the HTML coding. > in the web browser: the actual perl script code shows > within the browser. > > > > Is there a feature or "statement" I forgot to make on the > Tinet server that would explain this difference? Of course. You haven't told apache that requests leading to this directory should cause the file to be executed rather than printed. See "ScriptAlias", eg: ScriptAlias /cgi /path/to/your/cgi/dir And read: http://httpd.apache.org/docs-2.0/howto/cgi.html Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > Thank you all for your assistance in advance, and have a ... > > > Merry Christmas & Happy New Year! > Warron French > Sr. Network Engineer > Xtria, LLC > > > --------------------------------------------------------------------- > 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 > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- 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