You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by klute <so...@yahoo.com> on 2003/03/26 19:16:10 UTC
setting up alternate ways of accessing the same webapp
hi All,
it's hard to explain my question but i'll do my best.
please feel free to ask for clarifications.
i have a tomcat/apache 1.3.2.7/mod_jk setup. all of
the servers are on the same host (say host A). there
are 2 vifs (virtual ip's) set up on this host and so i
have something like this:
<Engine name="myengine" defaultHost="A">
<Host name="vif-one">
<Context docBase="/somedir/vif-one-webapp"
path="/vif-one-webapp" >
</Context>
</Host>
<Host name="vif-two">
<Context docBase="/somedir/vif-two-webapp"
path="/vif-two-webapp" >
</Context>
</Host>
</Engine>
In apache, each of the vifs is a vhost. this config
works well.
i am able to call the first webapp 'vif-one-webapp' by
visiting http://vif-one/vif-one-webapp. however, i'd
like to be able to also reference this webapp by using
the actual hostname (A) on the url instead of the
virtual ip/host. any idea how i can do that? thanks a
lot for your help!!
james
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org