<VirtualHost 200.131.195.9>
    DocumentRoot /web/admged
    ServerName www.admged.ufu.br
    JkMount /*.jsp ajp13
    JkMount /servlet/* ajp13
</VirtualHost>

I think, assuming /web is your Host's appBase:

<Context path="" docBase="admged" debug="0"
                 reloadable="true" crossContext="true" />

If /web isn't your Host's appBase, then:

<Context path="" docBase="/web/admged" debug="0"
                 reloadable="true" crossContext="true" />

I always put everything under CATALINA_HOME, so I might have those paths
incorrect.  If they don't work, let us know, of if someone sees something
fishy, please correct me.

John

> -----Original Message-----
> From: "Sebastico Carlos Santos" [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 3:28 PM
> To: Tomcat Users List
> Subject: Apache + Tomcat + Virtual Host
> 
> 
> I have a server with Apache 2.0.44 and Tomcat 4.1.18  
> working jointly, through mod_jk.so, accordingly  
> documented in John Turner HowTo ("Apache 2.0.43 + Tomcat 
> 4.1.12 + mod_jk").  
> All accomplished the tests after the installation and when 
> typing the  
> url http://admged.ufu.br/examples verified that the configuration  
> it was correct, because the Apache is working correctly and  
> JSP and servlets requests are being passed to tomcat.  
> However, I am not getting to close the configuration of the   
> virtual host for you ally him www.admged.ufu.br in what is said  
> I respect Tomcat.  
> The virtual host in the Apache is configured as having shown  
> below:
> 
> NameVirtualHost 200.131.195.9
> 
> <VirtualHost 200.131.195.9>
>     DocumentRoot /web/admged
>     ServerName www.admged.ufu.br
> </VirtualHost>
> 
> My directory tree is the following:
> 
> /web/
> |-- admged
>     |-- WEB-INF
>     |   `-- classes
>     `-- logs
>     
> Where:
> 
> /web -> point of assembly of my directory tree
>   admged  -> folder where I will put the files. jsp
>      WEB-INF
>         classes -> folder where I will put the classes java
> 
> 
> I would like to know how the structure of JkMount would be for the  
> Virtual Host in the Apache and also the configuration of the 
> contexts  
> in server.xml  
> Sebastião Carlos Santos
> Oracle Database Administrator
> Universidade Federal de Uberlândia - UFU
> Gratificação de Estímulo à Docência - GED
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to