tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "v.siguier" <v.sigu...@voila.fr>
Subject Re: Apache + Tomcat + mod_jk
Date Tue, 29 Jul 2003 15:33:43 GMT
Thanks for your help but I don't understand where I have to put these new lines...
I have made changes in server.xml and I have created workers.properties (under Tomcat) in
order to generate automatically mod_jk.conf.
In Apache config file, I have made no changes for my new webapp... do I have to write any
information concerning my application in httpd.conf ?


> 
> You'll need DocumentRoot, too.
> 
> John
> 
> Zach Gatu wrote:
> 
> > Where have you put your JSPs and/or servlets?
> > 
> > If for example you've put them in "tomcat-install/webapps/myfiles", then 
> > in your mod_jk conf file you need to put a directive like this:
> > 
> > Alias /tcfiles "tomcat-install/webapps/myfiles"
> > 
> > JkMount /tcfiles/servlet/* ajp13-wrk1
> > JkMount /tcfiles/*.jsp ajp13-wrk1
> > 
> > "ajp13-wrk1" is a worker described in your workers.properties file
> > 
> > This means that only files ending with *.jsp or starting with /servlet/ 
> > will be served by Tomcat.  Anything else will be served by Apache.
> > 
> > Zach.
> > 
> > v.siguier wrote:
> > 
> >> Hello,
> >>
> >> I have configured Apache and Tomcat with mod_jk in order to connect 
> >> them together but now all ressources of my application must be located 
> >> under Tomcat directory to be founded.
> >> As I want to put all static ressources directly under Apache, somebody 
> >> can tell me what I have to configure in Apache or Tomcat to do this ?
> >>
> >> Thank you
> >> ------------------------------------------
> >>
> >> Faites un voeu et puis Voila ! www.voila.fr
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message