Hi,

I belief your question is, how to link your webapp to '/'
instead of '/webapp'.

So you need to add an explicit context as default context.
----
          <Context path="" docBase="path-to-webapps" debug="0"/>
----

Fiona:
> I'm using Tomcat 4.1.12 and set up a virtual host in
> my server.xml file. 
> 
> I want to be able to type the url www.myurl.com and
> this to go to the equivalent of going directly to
> localhost:8080/myapp. Currently www.myurl.com will
> replace the localhost section, but i still have to put
> the path of myapp after it to get to the page i want,
> i.e. www.myurl.com/myapp works but www.myurl.com does
> not.
> 
> Here's the host that i added:
> 
> <Host name="www.myurl.com" debug="0" appBase="webapps"
> unpackWARs="true" autoDeploy="true">
>                                               <Context path="/myapp" docBase="myapp" 
> debug="0"
> reloadable="true" crossContext="true">
>                               </Context>
>                       </Host>

Ciao

Jens Skripczynski
-- 
E-Mail: skripi-lists(at)myrealbox(dot)com

I think there is a world market for about five computers.
                                -- Thomas J. Watson, CEO, IBM Corporation, 1947


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to