You need two things:

- define a welcome-file-list in web.xml:

<welcome-file-list>
  <welcome-file>on/tomcat/html/index.html</welcome-file>
</welcome-file-list>

- set the path for the context to "" in server.xml

<Context path="" docBase="mywebapp">

> -----Original Message-----
> From: Meinrad Schwamborn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 07, 2003 8:47 PM
> To: [EMAIL PROTECTED]
> Subject: Apache/Tomcat on two machines
> 
> 
> The whole webapp is running on the Tomcat machine.
> I'm using mod_jk as connector for Apache/Tomcat which works 
> fine when I'm using an URL like 
> http://my.apache.server/mywebapp/on/tomcat/html/index.html
> 
> Now I want to connect through the URL http://my.apache.server/ 
> and also get the content of the Tomcat webapp.
> 

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

Reply via email to