Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 30259 invoked from network); 12 Apr 2005 09:04:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2005 09:04:14 -0000 Received: (qmail 29270 invoked by uid 500); 12 Apr 2005 09:03:27 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 29077 invoked by uid 500); 12 Apr 2005 09:03:26 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 29048 invoked by uid 99); 12 Apr 2005 09:03:25 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from web25601.mail.ukl.yahoo.com (HELO web25601.mail.ukl.yahoo.com) (217.12.10.160) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 12 Apr 2005 02:03:24 -0700 Received: (qmail 75844 invoked by uid 60001); 12 Apr 2005 09:03:20 -0000 Message-ID: <20050412090320.75842.qmail@web25601.mail.ukl.yahoo.com> Received: from [130.88.233.248] by web25601.mail.ukl.yahoo.com via HTTP; Tue, 12 Apr 2005 10:03:20 BST Date: Tue, 12 Apr 2005 10:03:20 +0100 (BST) From: zhicheng wang Reply-To: wang_zc@yahoo.co.uk Subject: RE: HELP Tomcat CGI To: Tomcat Users List In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi, first you need to test if the script will be happy to execute: leave it where you want it to be called from the browser and in shell to type /path/to/script/test.pl if it execute, then you know it is your tomcat config problem. you may need to restart tomcat after change the .xml file(?) there is security concern about using cgi, does not matter with tomcat or apache. but as you know tomcat can run perl. good luck cheng --- "Raghupathy,Gurumoorthy" wrote: > Why don't you run perl in apache and integrate it > with tomcat ? > Tomcat should not be used with CGI ( security issues > ) > > Guru > > -----Original Message----- > From: Scholtyssek Siegfried > [mailto:siegfried.scholtyssek@siemens.com] > Sent: 11 April 2005 09:29 > To: tomcat-user@jakarta.apache.org > Subject: HELP Tomcat CGI > Importance: High > > > > Hello, > > > > I use the Apache Tomcat.5.0.16 on the SUNOS 5.8 > UNIX > > > > With Tomcat we want execute cgi-scripts. So I > modified all in web.xml > > and removed the file servlets-cgi.renametojar to > servlets-cgi.jar > > If I start with Netscape the follow URL: > > http://localhost:8080/cgi-bin/test.pl so I get > the follow ERROR: > > > > Can't open perl Script ........./test.pl No such > file or direktory > > Use -S to search $PATH for it. > > > > If I delete and make a follow link: > > > > rm /usr/bin/perl > > > > ln -s /usr/bin/ksh /usr/bin/perl then it is > running. > > > > Whats wrong ??? What I have to do, that it is > running with ln -s > > /usr/local/bin/perl /usr/bin/perl > > > > In the first line of the test.pl I have still > #!/usr/local/bin/perl > > and I made chmod a+x test.pl and with command from > xterm I can execute > > it with the full path from the errormessage Can't > open perl Script > > ..... ! > > > > Please help me because I will be else crazzzzzy > :-) > > > > Thanks and regards > > > > Siggi > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > Best wishes Z C Wang Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org