Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35815 invoked from network); 5 Jul 2008 09:34:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2008 09:34:43 -0000 Received: (qmail 3350 invoked by uid 500); 5 Jul 2008 09:34:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 3319 invoked by uid 500); 5 Jul 2008 09:34:32 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 3308 invoked by uid 99); 5 Jul 2008 09:34:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 02:34:32 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.156] (HELO smtp3.freeserve.com) (193.252.22.156) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 09:33:40 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3201.me.freeserve.com (SMTP Server) with ESMTP id 2690C7000086 for ; Sat, 5 Jul 2008 11:34:00 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.154.191]) by mwinf3201.me.freeserve.com (SMTP Server) with ESMTP id C8D3D7000082 for ; Sat, 5 Jul 2008 11:33:58 +0200 (CEST) X-ME-UUID: 20080705093358822.C8D3D7000082@mwinf3201.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id A7E9E1123C7 for ; Sat, 5 Jul 2008 10:31:03 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server02.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AtbQJ4u1iknb for ; Sat, 5 Jul 2008 10:30:59 +0100 (BST) Received: from [192.168.0.4] (unknown [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id D1A5C1120A3 for ; Sat, 5 Jul 2008 10:30:59 +0100 (BST) Message-ID: <486F3FF3.9010400@apache.org> Date: Sat, 05 Jul 2008 10:33:39 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: cgi problem References: <486F3A75.1010505@yahoo.gr> In-Reply-To: <486F3A75.1010505@yahoo.gr> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Vangelis Katsikaros wrote: > I have Tomcat 5.0.27 That is old and unsupported. I'd move to a new version if you can. > But since I > want the script to be inside $CATALINA_HOME/webapps/ROOT/dir1 I changed > cgiPathPrefix to dir1/ . I also changed cgi servlet-mapping from > /cgi-bin/* to *.cgi Try cgiPathPrefix="" Tomcat will get the dir1 from the pathInfo so you don't need to specify it as part of the path prefix. Note: I haven't actually tested this - I am going from memory / the source code. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org