Thanks for the comments, I ended up writing a little servlet filter. I
forgot to mention that I had a filter mapping /* on the root context, so
that /someuri was being caught by the root context first, so I needed a
filter to bypass this. We're also not proxying through apache.
Cheers
Daniel M Garland wrote:
Hi
I was formerly hosting a web application at
http://somehost/somecontext
which I am now hosting at
http://somehost
so that the context is now ROOT, instead of somecontext.
Is there a way of mapping / redirecting 'old' URI from somecontext to
the ROOT, so that
http://somehost/somecontext/someuri
becomes
http://somehost/someuri
This would be advantageous to me because bookmarked / search-engine
listings for /someuri are now giving a 404, which I'd prefer to be a
redirect. There is also the matter of links on other websites.
Thanks in advance
Dan Garland
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]