Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 90655 invoked from network); 16 Sep 2009 21:03:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 21:03:14 -0000 Received: (qmail 32992 invoked by uid 500); 16 Sep 2009 21:03:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 32923 invoked by uid 500); 16 Sep 2009 21:03:10 -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 32912 invoked by uid 99); 16 Sep 2009 21:03:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 21:03:10 +0000 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 [76.96.59.227] (HELO QMTA12.westchester.pa.mail.comcast.net) (76.96.59.227) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 21:03:00 +0000 Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA12.westchester.pa.mail.comcast.net with comcast id hUeh1c00E0xGWP85CZ27K5; Wed, 16 Sep 2009 21:02:07 +0000 Received: from [192.168.1.200] ([69.143.128.194]) by OMTA12.westchester.pa.mail.comcast.net with comcast id hZ261c0054BnRt93YZ26M4; Wed, 16 Sep 2009 21:02:07 +0000 Message-ID: <4AB1524C.2080703@christopherschultz.net> Date: Wed, 16 Sep 2009 17:02:04 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: tomcat & url rewrite References: <25395691.post@talk.nabble.com> <25429315.post@talk.nabble.com> <4AAE5067.8060800@christopherschultz.net> <25446546.post@talk.nabble.com> <4AAFD00D.1030701@christopherschultz.net> <25464594.post@talk.nabble.com> In-Reply-To: <25464594.post@talk.nabble.com> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 William, On 9/15/2009 9:45 PM, WILLIAMer wrote: > There is no error with url rewrite. > For item "pd1234", > The url would be http://myDomain/item_pd1234.html and its fine. Ok. > For item "pd12/34" > The url would be http://myDomain/item_pd12/34.html and got error. What error? > Because tomcat seems there is a directory named item_pd12under my > application. Tomcat does not care a lick about slashes anywhere in the URL. I would venture a guess that either your URL mappings are incorrect or your code does not gracefully handle a / in an item id. > So, i say if the item include "/" char would get error. > > At first, i didnt know the problem belong to tomcat or url-rewrite. > Now, thanks the replies in this post. > I know this is not tomcat problem. I believe this is an application problem. Check your code to see how product ids are being parsed. Again, what error are you getting? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqxUkwACgkQ9CaO5/Lv0PAm9QCdEbk+CeaNm1tPqM+FwIOa05Sd CAsAoIbD+idmngmHVswTKDwKRp0yKyxi =ygrS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org