Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP. Apache 2 more the Tomcat 5.0...

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
Please me.
I am trying to make to function the Jforum in my site.
I am not having success.
I am using the Apache 2 more the Tomcat 5.0 (Virtual host in my apache web server).
I am using Linux Fedora Core 3.
Use in Apache the jakarta-tomcat-connectors-jk2-2.0.4(mod_jk2.so)
My configuration in Apache workers2.properties:

[uri:/*.jsp]

info=Mapear as extens̵es .JSP

[uri:www.javanoroeste.com.br/*]

info=JSP examples, map requests for all JSP pages to Tomcat.

[uri:/*.page]

info=Mapear arquivos .page

My configuration in Tomcat:

<Host name="www.javanoroeste.com.br" >



path="" docBase="��?
<Logger className="org.apache.catalina.logger.FileLogger" <br /> directory="logs" prefix="javanoroeste_log." suffix=".txt" <br /> timestamp="true"/>

</Host>

Help me.

[originally posted on jforum.net by carlosfgo]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have it working in Tomcat alone? I'd start with that.

Then in apache all I have for my tomcat integration is

JkMount /* prodworker1

Hope that helps,

William (aka wpietri)
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi William.
My configuration in httpd.conf of the Apache 2.0:

loadModule jk2_module modules/mod_jk2.so
...
...
<VirtualHost *:80>
DocumentRoot /home/www/javanoroeste
ServerName www.javanoroeste.com.br

</VirtualHost>

My configuration in server.conf of the TOMCAT :
<Host name="www.javanoroeste.com.br" >



path="" docBase=""
<Logger className="org.apache.catalina.logger.FileLogger" <br /> directory="logs" prefix="javanoroeste_log." suffix=".txt" <br /> timestamp="true"/>

</Host>

It helps me please
William.

Carlos FG

[originally posted on jforum.net by carlosfgo]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! William here again. I actually had more in my Apache config than I thought. Here's what mine says:



and my jk_workers.properties looks like this:



My tomcat configuration is completely unchanged from the release version except for changing the port numbers.

I hope that's useful to you.
[originally posted on jforum.net by Anonymous]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic