Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 64416 invoked from network); 25 Apr 2010 23:59:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Apr 2010 23:59:27 -0000 Received: (qmail 21195 invoked by uid 500); 25 Apr 2010 23:59:24 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 20994 invoked by uid 500); 25 Apr 2010 23:59:24 -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 20985 invoked by uid 99); 25 Apr 2010 23:59:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 23:59:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of behrangsa@gmail.com designates 209.85.223.174 as permitted sender) Received: from [209.85.223.174] (HELO mail-iw0-f174.google.com) (209.85.223.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 23:59:17 +0000 Received: by iwn4 with SMTP id 4so4122334iwn.31 for ; Sun, 25 Apr 2010 16:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=D5PdZhs0QNACIw0EM6EzYrmMUt4rTygALz1YbK6W08g=; b=Yntw3NTwNanjEdKNYmUvOtyiIvsFDjeWLg+JE1+23AANKO4iLKw1+ToSJipVN7DYH+ /380tEYv7fiaYTdt170WFEVQbU/1iugWzj09akaREzyD3ExwdmvaCk27UfW/MENqQfiy sX0iKyRyz+KRF6bwtfZgtm27axNSqbJMXkFlk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=o1cjteT0Fp0PPiY6pv2rv9LnLoVGc01cMy8O2/mfCObRgsSyk7InECOEAQqve0ZCQm 24S97iDQzXugO5NGiVLIK74uA5Dgl4glyHrWtnZUo9k5qCc560QOy2bh375qTkYz+OZ3 jm2UdUvS1c955PhiPeMWfNA6OKwWdVZuUsSN4= MIME-Version: 1.0 Received: by 10.231.182.206 with SMTP id cd14mr1102369ibb.39.1272239936174; Sun, 25 Apr 2010 16:58:56 -0700 (PDT) Received: by 10.231.32.71 with HTTP; Sun, 25 Apr 2010 16:58:56 -0700 (PDT) Date: Mon, 26 Apr 2010 09:58:56 +1000 Message-ID: Subject: Context accesible in two context paths while it must be accessible in only one From: "Behrang S. Zadeh" To: users@tomcat.apache.org Content-Type: multipart/alternative; boundary=0016363b912476fd7f04851871e3 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b912476fd7f04851871e3 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I have defined a very simple Web application and stored it under webapps/example. I have also defined a Context file for it named example.xml and placed it under conf/Catalina/localhost. The content of example.xml file is: Now I assume that this Web app must only be accessible via http://localhost:8080/example1. However it is accessible via both http://localhost:8080/example1 and http://localhost:8080/example. Any ideas why is this happening? The deployment server is *Tomcat 5.0.30*. The whole server directory can be downloaded from: http://public.me.com/behrangsa Thanks in advance, Behrang --0016363b912476fd7f04851871e3--