tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aggarwal, Ajay" <Ajay.Aggar...@stratus.com>
Subject RE: Re: deploying as ROOT application
Date Tue, 26 Oct 2010 19:52:01 GMT
Perhaps I can discuss my needs here with other forum members. The only
reason I thought my app needs to be a ROOT application is because I need
to serve following contexts from my application:

  /foo/*
  /bar/*
  /sample1.html

But now I am thinking that perhaps URL rewriting can help me here.
Perhaps I can still deploy my application as "myapp" and use URL
rewriting filters to do following mapping:

  /foo --> /myapp/foo
  /bar --> /myapp/bar
  /sample1.html --> /myapp/sample1.html

Will this work? Are there good URL re-writing filter libraries
available?

-Ajay

-----Original Message-----
From: Simon Funnell [mailto:simon.funnell@propositum.biz] 
Sent: Tuesday, October 26, 2010 3:42 PM
To: users@tomcat.apache.org
Subject: Fwd: Re: deploying as ROOT application

On 26/10/10 20:31, Aggarwal, Ajay wrote:

>  Where is the official Tomcat documentation on how to make your
>  application a ROOT application? I am using Tomcat 6.0 and can't seem
to
>  locate the section on deploying as ROOT application.
>
>
>
>  -Ajay
>
>
>

Put your application in the webapps/ROOT folder 'or' (I think) a war
file
called ROOT.war in the webapps folder. Or use the manager webapp.

Simon


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


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


Mime
View raw message