Hi,
Apache mod_rewrite is overkill for this intra-webapp traffic control.
Use a Servlet Filter mapped to /* and put your logic in there.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Hari Mailvaganam [mailto:[EMAIL PROTECTED]
>Sent: Saturday, December 11, 2004 7:06 PM
>To: Tomcat Users List
>Subject: Re: Setting virtual path
>
>I have set it up from Apache - which acts as the HTTP listener and
>siimple redirects request to the Tomcat.
>
>regards,
>
>Hari Mailvaganam
>
>
>On Sat, 11 Dec 2004 14:52:56 +0000, Centaur zeus
><[EMAIL PROTECTED]> wrote:
>> HI All,
>>
>> I have a path like:
>> http://www.foo.com/fooapp/testing.do?id=2
>>
>> Is it possible to point
>> http://www.foo.com/2
>> to this location ?
>>
>> of course I still have id=3, 4, 5... where this path should be
dynamic.
>>
>> Thanks.
>>
>> Perseus
>>
>> _________________________________________________________________
>> Don't just search. Find. Check out the new MSN Search!
>> http://search.msn.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to