Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 581C6917E for ; Mon, 2 Apr 2012 16:30:50 +0000 (UTC) Received: (qmail 14866 invoked by uid 500); 2 Apr 2012 16:30:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14699 invoked by uid 500); 2 Apr 2012 16:30:46 -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 14690 invoked by uid 99); 2 Apr 2012 16:30:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 16:30:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pid@pidster.com designates 74.125.83.45 as permitted sender) Received: from [74.125.83.45] (HELO mail-ee0-f45.google.com) (74.125.83.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 16:30:39 +0000 Received: by eeit10 with SMTP id t10so1448142eei.18 for ; Mon, 02 Apr 2012 09:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pidster.com; s=google; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type; bh=pmLMdPx+3Vc1hTb3Xe3NcYUG0gLFXEyixix4rqazzJE=; b=pug/OHcXYK1h26Xn+jDMVWkjka41da9Pf3fD7VVcUHmL8CxsX+HVPgPYRkzVSoSCKy eqYFQ3Kv5hgeLUW0HoqN5HJuVed6wI9ldUrmbVIjVuoSk1Vej6AdRCHJtcZ5VgREM4ld LcwLnhMcvk07JWJCdk7wIk9sDvsNawu7zi94g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:openpgp :content-type:x-gm-message-state; bh=pmLMdPx+3Vc1hTb3Xe3NcYUG0gLFXEyixix4rqazzJE=; b=OnLUBTjYJ3MWNldRJ0D54myEWmkuA6uvJINTbWepNzk2XRTNwlCikMuIEiQTTGcuYE h7PViB8abn6J25z5EqiNMw8vQtwkMSRDbzkKvLI4vLS+Xx3cdmTZqa/QNe7KGXv6lx5o 4u8WSbsGW+TL+7R4h+cEJ7vFIL2SAuhTbjb5PQrL1PmiRXeGLETc5PqUTMT1P09JRock 0KLqT2Q4kZ6JYaCAHsTpQl4I6egR17naY/yTIgzd0RDYv4Bjjbck0mye1NR37BSvzQv+ S5yzxvXQQ7Q3xBKnJt+XxRB8KmTt4e8fHx2iMXzh4DTrK5l1/rppILE7FieUQolGCxp5 YEAw== Received: by 10.213.26.69 with SMTP id d5mr787793ebc.61.1333384218851; Mon, 02 Apr 2012 09:30:18 -0700 (PDT) Received: from Asura.local (cpc10-lewi14-2-0-cust355.2-4.cable.virginmedia.com. [82.4.249.100]) by mx.google.com with ESMTPS id e56sm64498770eea.11.2012.04.02.09.30.14 (version=SSLv3 cipher=OTHER); Mon, 02 Apr 2012 09:30:16 -0700 (PDT) Message-ID: <4F79D410.9080209@pidster.com> Date: Mon, 02 Apr 2012 17:30:08 +0100 From: Pid Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat6 - Context - aliases References: <1333360773430-4678428.post@n6.nabble.com> <1333363527730-4678513.post@n6.nabble.com> <11462767.90.1333372854644.JavaMail.daniel@cleveland> <1333376619645-4679060.post@n6.nabble.com> <4F79BD0F.3050703@pidster.com> <1333379694684-4679237.post@n6.nabble.com> In-Reply-To: <1333379694684-4679237.post@n6.nabble.com> X-Enigmail-Version: 1.4 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigC79394291550AE0D96C97344" X-Gm-Message-State: ALoCoQllvSj45FF1vvql19JvogcRsPevT9d1XApBNoybKmiE6rf05Jrjnv7wofs3Q5xh118mrFdO --------------enigC79394291550AE0D96C97344 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/04/2012 16:14, L=E9a Massiot wrote: >=20 > Pid * wrote >> Either they did not, or they selected an alternative based on their >> use-case. > I'm sure they did. You'll see below, my requirements are basic. >=20 >=20 > Pid * wrote >> What is your exact requirement?=20 > - Users upload files to the server running Tomcat. > - The Webapp stores these file on the hard disk in some directory which= has > nothing to do neither with the Webapp nor with the Tomcat engine. Let's= name > it "d1". > - I needed an alias for the directory "d1" to refer to it from inside t= he > Webapp. Please define 'inside'. Does the application need to perform an internal forward, or does the client just need to be able to request the URL for the resource? In the latter case, put a Context file in: tomcat/conf/Catalina/$hostname/$alias.xml p > I created a "META-INF/context.xml": >=20 > > =3D"> > >=20 > Of course, it works as expected with "Tomcat7". >=20 > I "just" want to do something equivalent which works with "Tomcat6". >=20 > Thank you for helping me and best regards. >=20 >=20 >=20 > -- > View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Co= ntext-aliases-tp4678430p4679237.html > Sent from the Tomcat - User mailing list archive at Nabble.com. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --=20 [key:62590808] --------------enigC79394291550AE0D96C97344 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJPedQUAAoJEGoM2OGpOvr98HwP/00uRGQSrxDtcxNxdPNIFc/t XgUnPkQp0w9THREmNDmfCXqEGu909dCnLhMIaE9Y3FxerNem6biu37l9ewVQnxMY 2PuvROe0Qee8M28U/A6jT8+28I9cr3TrY5fFH6BtAfvpmu33ULm/KOvRTZQ9LH9g muhMF9MIEMi+V4ZRSEW7PSkXdRF2kz6dBTOSHxD9qFU4BCaULeLconGbLkIguF5G /mfBB/MEugea6W8OK/axoNARnk98WQbRPzR8LnS12XkiZKDsO74l3pRVfjuBWPTb KwqB1Ys1LA8eDoLJkieWZLRM5nwLzIEbETAvaDD6++h4Rcid9UIjCv52YY5AUxv5 SWezbZ18lN88fGL1RgQ0tLPdip0lBI78ov0aMIgSqy4T9XxKsAmTQcrCxtWc/kiq 6Hf1yAU0dhXAqckEfZULWVXlrrm2Ql9mhMebnE16G3mlHqWSOlM3ntx55o5Byg/V tZ9aP9Dg95xh1imByxKgpe2bCsYepQX+PF/eulBK/tKRqQlhipyPhIqXbEWK0nHc qI01hJK4tsW90meTAovzyWAWs2zPeAs5wq3t/6vexBkgRGgTVNSG5dnuLxeUcvoY 4kO0A8IDDrFGoLSidWYiHbF8KeWi0h6N59pImdYFDkDEvhNYjSKeUrBsuCW+shW6 BITj7CAvdenOO5LMIjzU =3w0h -----END PGP SIGNATURE----- --------------enigC79394291550AE0D96C97344--