If you're using apache you could just use mod_rewrite.

moran

On 10/15/07, Daniel M Garland <[EMAIL PROTECTED]> 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]
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to