Author Topic: apache tomcat connector  (Read 15905 times)

0 Members and 1 Guest are viewing this topic.

apache tomcat connector
« on: July 27, 2016, 12:54:00 PM »
hello i want to know about apache tomcat connector, how can i use mod_jk in CWP.

Re: apache tomcat connector
« Reply #1 on: April 22, 2018, 08:20:11 AM »
you can use apache mod_proxy
Code: [Select]
LoadModule proxy_module modules/
LoadModule proxy_connect_module modules/
Code: [Select]
<VirtualHost x.x.x.x:80>
  ServerName [servername]
  ProxyRequests Off 
  ProxyPreserveHost On
  ProxyPass / http://[IP]:8080/
  ProxyPassReverse / http://[IP]:8080/

in tomcat configuration
Code: [Select]
<Host name="[domain]" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
    <Context path="" docBase="[path]" reloadable="true"  override="true"/>