I've been running Apache 2 /Tomcat 4/ Cocoon 2 for a couple of months with
no problem. I'm using mod_jk.dll
This is a snip of my httpd.conf. Please change where applicable:

<IfModule !mod_jk.c>
  LoadModule jk_module modules/mod_jk.dll
</IfModule>
JkWorkersFile "<tomcat_home>/conf/workers.properties"
JkLogFile "<tomcat_home>/logs/mod_jk.log
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
(...or whatever match)

On tomcat, create the file workers.properties under the conf directory:

workers.tomcat_home=<tomcat_home>
workers.java_home=<jdk_home>
ps=\
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

Hope it helps, James


> I have checked the mod_webapp but it seems to work only with Apache 1.x
> and not for Apache 2.0!
>
> Try the mod_jk.
> These modules and the connection problems between Apache and Tomcat are
> not well documented. Many users have this problem. Try the Apache or
> Tomcat mailing lists.
>
> Sylvain
>
> -----Message d'origine-----
> De: yuryx [mailto:[EMAIL PROTECTED]]
> Date: jeudi, 4. juillet 2002 11:33
> À: [EMAIL PROTECTED]
> Objet: Re: Redirect Apache Requests to Tomcat
>
>
> Thomas Garger wrote:
>
>>Hi!
>>
>>I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage is
>>called with the following URL
>>(http://MyServer-IP:8080/cocoon/myhomepage).
>>
>>I also have a domain-name (http://www.MyDomainName.at )where i put the
>>DNS to the IP of my Server. But every time someone want to call my
>>homepage,
>>he has to insert the following
>>(http://www.MyDomainName.at:8080/cocoon/myhomepage).
>>That is bad.
>>
>>And thats my intension:
>>-----------------------
>>I want to run Apache Web-Server, which is listening on port 80.
>>
>>So my question ist - can i configure Apache Web-Server and Tomcat in
>>this
>>way, that
>>every request, that comes to the Apache Web-Server is redirectedt to
>>Tomcat
>>(for example - someone calls http://www.MyDomainName.at he calls the
>>Apache Web-Server - this Server gets the sites from Tomcat and displays
>>the
>>content).
>>
>>if someone needs further information, please tell me.
>>
>>thanks
>>greetings, chris
>>
>>
>>---------------------------------------------------------------------
>>Please check that your question  has not already been answered in the
>>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>>
> Try to install mod_webapp module and configure the warp connection on
> Tomcat and Apache sides
> See also
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/warp.html
>
> Regards.
> Yury.
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to