Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 88890 invoked from network); 23 Feb 2009 13:53:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2009 13:53:53 -0000 Received: (qmail 34606 invoked by uid 500); 23 Feb 2009 13:53:41 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 34576 invoked by uid 500); 23 Feb 2009 13:53:41 -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 34565 invoked by uid 99); 23 Feb 2009 13:53:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 05:53:41 -0800 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; Mon, 23 Feb 2009 13:53:32 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3203.me.freeserve.com (SMTP Server) with ESMTP id EB8E4700008D for ; Mon, 23 Feb 2009 14:53:09 +0100 (CET) Received: from smtp.homeinbox.net (unknown [91.109.138.90]) by mwinf3203.me.freeserve.com (SMTP Server) with ESMTP id CE983700008C for ; Mon, 23 Feb 2009 14:53:09 +0100 (CET) X-ME-UUID: 20090223135309846.CE983700008C@mwinf3203.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id C4BFA1A4932 for ; Mon, 23 Feb 2009 13:53:00 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TfuebwV-KtOH for ; Mon, 23 Feb 2009 13:52:57 +0000 (GMT) Received: from host46.msm.che.vodafone (host212-183-132-20.uk.access.vodafone.net [212.183.132.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id BB90E1A4382 for ; Mon, 23 Feb 2009 13:52:56 +0000 (GMT) Message-ID: <49A2AA30.6090701@apache.org> Date: Mon, 23 Feb 2009 13:52:48 +0000 From: Mark Thomas User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Enabling CGI in Tomcat 6 affect all webapps. References: <22161635.post@talk.nabble.com> In-Reply-To: <22161635.post@talk.nabble.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org denis.r wrote: > Hi, > > I followed the instructions on how to enable CGIs in Tomcat 6 found at: > http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html . This works fine for > my webapp that has a CGI, but unfortunately it affects ALL my webapps within > the container. Even those that don't have CGIs. The webapps that don't have > CGIs now get errors claiming they must set privileged in order to use > CGIServlet, even though they aren't using CGIServlet. Is there any way to > turn this on just for the webapp using CGIs? Move the CGIServlet definition and mapping from the global web.xml (CATALINA_BASE/conf/web.xml) to your web application's web.xml. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org