Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Apache + tomcat +ssl

Spam

2004-01-13

Replies:

>>>>> Please, find below the contents of workers2.properties (mod_jk2):
  [shm]
  file=${serverRoot}/logs/shm.file
  size=1048576

  # Define the communication channel
  [channel.socket:localhost:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009
 
  # define the worker
  [ajp13:localhost:8009]
  channel=channel.socket:localhost:8009
 
  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/appserver/*]
  info=Map the whole webapp
  worker=ajp13:localhost:8009

>>>>> For mod_jk it looks like this in apache httpd.conf (see JkMount):
  <IfModule mod_jk.c>
  JkLogLevel   debug
  JkWorkersFile  C:/usr/TMS/AppServer/Resource/workers.properties
  JkLogFile   C:/usr/TMS/AppServer/logs/mod_jk.log
  JkMount     /appserver/* ajp13
  </IfModule>

and workers.properties:
  workers.tomcat_home=C:/usr/CBK2.4/ApplicationServer/catalina
  workers.java_home=C:/usr/java/j2sdk1.4.0_01
  ps=/
  worker.list=ajp12, ajp13

  # Definition for Ajp13 worker (Ajp12 left to readers imagination)
  #
  worker.ajp13.port=8009
  worker.ajp13.host=localhost
  worker.ajp13.type=ajp13

Hope this could help you.

Johann DUPUIS


Omkar Joshi wrote:

> can u give me code, how exactly you specify this .../appserver/*
>
>
>
>
>
> Date: Tue, 13 Jan 2004 10:35:08 +0100
> From: Spam <spam@(protected)>
> Subject: Apache + tomcat +ssl
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> It should not depend on the port you use to connect to apache.
> Both http://myserver.com/index.jsp and https://myserver.com/index.jsp
> should have the same result with no specific
> configuration.
>
> I've configured mod_jk to redirect all .../appserver/* to tomcat.
> Then whatever I use http://localhost/appserver/* or
> https://localhost/appserver, it's ok.
>
> Regards.
>
> Johann DUPUIS
>
> Omkar Joshi wrote:
>
>> Hi,
>>
>> I have apache on linux 9 with ssl set up.
>>
>> also i have set up tomcat amd mod_jk for apache to redirect all jsp
>> to tomcat
>>
>> now as port 80 is open ,
>>
>> http://myserver.com:8080/index.jsp
>>
>> http://myserver.com/index.jsp
>>
>> works fine, apache send jsp to tomcat engine
>>
>> but as apache has ssl 443 , opened on the firewall i want
>>
>> https://myserver.com/index.jsp to work.
>>
>> let me know what setting required
>>
>> _________________________________________________________________
>> Meet a mate. Find a soulmate. http://www.msn.co.in/Romance/ Or just
>> chat a while.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>> For additional commands, e-mail: tomcat-user-help@(protected)
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>
> --------------------------------------------------------------------------------
>
>
> _________________________________________________________________
> Gujarat Kite Fest at http://go.msnserver.com/IN/40247.asp
> www.gujaratkitefest.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.