You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by nkarytia <n....@gmail.com> on 2008/02/27 08:24:02 UTC

How do I make a redirection?

Under Tomcat I have installed Liferay CMS and what I am trying to do is that
every time the user types in http://mysite.com/hello in the address bar of
his browser it gets redirected to another site like hello.newsite.com. Is
this possible?
Thank you in advance,
Nikos.
-- 
View this message in context: http://www.nabble.com/How-do-I-make-a-redirection--tp15707465p15707465.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: How do I make a redirection?

Posted by Stephen More <st...@gmail.com>.
On Wed, Feb 27, 2008 at 2:24 AM, nkarytia <n.kar......m> wrote:
>  every time the user types in http://mysite.com/hello in the address bar of
>  his browser it gets redirected to another site like hello.newsite.com. Is
>  this possible?

Is mysite.com running Tomcat, httpd, or something else ?

This can be done with HTML, in the directory of hello you need to
place an index file that has the following code:

<HTML>
<HEAD>
        <TITLE></TITLE>
        <meta content="0; url=http://hello.newsite.com" http-equiv="refresh">
</HEAD>
<BODY>
</BODY>
</HTML>

-Steve More

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