how to do auto redirection of a tomcat application
Tapas Mishra
mightydreams at gmail.com
Thu Feb 24 14:36:56 UTC 2011
On Thu, Feb 24, 2011 at 12:08 PM, Paul Graydon <paul at paulgraydon.co.uk> wrote:
> Yes we do, we use both rules in combination on probably most of the
> subdomains we host (approximately 70-80 applications under 20-30 subdomains)
>
> A few of our apps are named ROOT to allow them to work from /, but in most
> cases we'll have multiple apps for a particular subdomain so they have
> distinctive names.
So in that case those apps must also be generating URL at context root
/app1 and relative to it.
If 2 of your applications start generating URIs which begin with / and
not /app1 or /app2
then I think even you will need a different ServerName or DNS entry so
that send that request which forwards the root of site in ProxyPass to
internal machine.
I am very sure this situation depends upon how the application is
generating URLs.
--
http://mightydreams.blogspot.com
More information about the ubuntu-server
mailing list