Hi,

I have Apache Tomcat 5.5 installed on my box and serving requests from 
mydomainname.com

I run several applications on this server, each with its own <Context>
The URL  http://mydomainname.com/A/  takes the user to application A
The URL  http://mydomainname.com/B/  takes the user to application B
and so on.

mydomainname.com is currently at IP address 68.50.139.219

Now what I would like to do is have people accessing any URL that starts with 
http://68.50.139.219/ (or, better yet, any URL that starts with either 
http://68.50.139.219/ or https://68.50.139.219/) to be directed to application 
K which I can place anywhere on the server (not important).

So, any URL that matches http://68.50.139.219/*  would take the user to the 
application K on my server.

In other words, I want people accessing my web site through my IP address 
(rather than through the domain name) to always end up on a certain web page 
(application K) which I serve locally.

Is there a way to do this through Tomcat configuration?

Thanks!

Reply via email to