You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "rama.honge" <ra...@gmail.com> on 2009/09/24 08:12:16 UTC

accesing webapplication without the web context

Hi, 

What to know to to access a webapp without using the context in the url in
tomcat 6.0
for ex: 
Instead of using http://myserver.com/TestApp, it should be accessible with
http://myserver.com

There is only one web application deployed in tomcat.

Any help on this much appreciated..


-- 
View this message in context: http://www.nabble.com/accesing-webapplication-without-the-web-context-tp25531793p25531793.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: accesing webapplication without the web context

Posted by André Warnier <aw...@ice-sa.com>.
rama.honge wrote:
> Hi, 
> 
> What to know to to access a webapp without using the context in the url in
> tomcat 6.0
> for ex: 
> Instead of using http://myserver.com/TestApp, it should be accessible with
> http://myserver.com
> 
> There is only one web application deployed in tomcat.
> 
> Any help on this much appreciated..
> 
> 
See :
http://wiki.apache.org/tomcat/HowTo#How_do_I_make_my_web_application_be_the_Tomcat_default_application_.3F


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


Re: accesing webapplication without the web context

Posted by Pid <pi...@pidster.com>.
On 24/09/2009 07:12, rama.honge wrote:
>
> Hi,
>
> What to know to to access a webapp without using the context in the url in
> tomcat 6.0
> for ex:
> Instead of using http://myserver.com/TestApp, it should be accessible with
> http://myserver.com
>
> There is only one web application deployed in tomcat.

You wish to define your web application as the default, or ROOT, 
application.

If it is in the default webapp directory, rename the old ROOT (to say 
ROOT_old) or delete it.

If you have placed it in it's own webapps directory just rename it ROOT.


p

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