cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ja...@miweb.es>
Subject RE: Redirect Apache Requests to Tomcat
Date Thu, 04 Jul 2002 11:39:07 GMT
Yes, I'm running on Win2k. I would like to know if someone has it running
on a Linux box as I'm going to setup one in a couple of weeks.Thanks.

> 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:yuryx@mobicomk.donpac.ru]
>> Date: jeudi, 4. juillet 2002 11:33
>> À: cocoon-users@xml.apache.org
>> 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:     <cocoon-users-unsubscribe@xml.apache.org>
>>>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>>>
>>>
>>>
>> 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:     <cocoon-users-unsubscribe@xml.apache.org>
>> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>>
>>
>> ---------------------------------------------------------------------
>> 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:     <cocoon-users-unsubscribe@xml.apache.org>
>> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>
>
>
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>




---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message