You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by David Warnock <da...@sundayta.co.uk> on 2000/11/03 18:37:52 UTC

Multiple WebAppps on a Virtual Host problem in server.xml? using mod_jk

Hi,

I have installed Tomcat 3.2 milestone 6 onto a cobalt raq system.

For the "proper" host name servlets are working fine eg 
http://servername.com/examples/servlet/snoop

For the virtual host names I am unable to get the web application name 
working

so http:/virtualserver.com/servlet/snoop

will work if I have

         <Host name="www.virtualserver.com">
         <Context path=""
                  docBase="webapps/examples"
         </Context>

         </Host>

in my server.xml

BUT I cannot get

so http:/virtualserver.com/examples/servlet/snoop to work. I have tried 
lots of combinations and this looks correct to me (but does not work).


         <Host name="www.sundayta.com">
         <Context path="/examples"
                  docBase="webapps/examples"
         </Context>

         </Host>

How do I get the virtual server to work with the web application name in 
the url?

Note I have installed mod_jk.so, it seems OK, I have added

Include /usr/local/tomcat/conf/mod_jk.conf-auto

to my httpd.conf and also

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

in the virtual host section.

Am I missing something? or are vitual hosts only able to handle a single 
web application?

Thanks for your help.

Dave







facing problem with TOMCAT_HOME path ????????

Posted by THE PRINCE <rv...@dnm.it>.
i am unable to set the TOMCAT_HOME path in the tomcat.bat file!!!

this is my directory structure : c:\foo\tomcat\jakarta-tomcat

can anybody help me out pleaseeee....i am struggling with this !!!!

thanks in advance....

r-a-v-i



Do you know How to configure Apache + PHP + Oracle

Posted by byung-wan jung <bw...@selim.co.kr>.
Hi, Every body

Who somebody help me?
Our Website developted Apatch + Oracle + PHP.
When we tested using MySQL the all is OK. 
But when we test using Oracle, then that is not ok. 

Help me. 


 
Byungwan, Jung