If you were using apache infront of tomcat you can use the proxy to do this for you I think
ProxyPass / ajp13://localhost:8009/app/ any requests for '/' go to '/app/' on tomcat Hope that helps D On Fri, 2007-11-23 at 09:43 +0100, Rocco Scappatura wrote: > > do you want your app to be the default one? > > Not necessarily. > > > And even the app name can be avoid in a URL Path? > > Yes, but look below to understand precisily what I really want. > > I have an application, say 'app'. I access it trhough: > > http://www.example.com/app > > I have a valid URL: > > http://www.example.com/app/foo > > I would like to know if it possible to create a shortcut to this latest > URL like: > > http://foo.example.com > > or > > http://www.example.com/foo > > rocsca > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]