Author Topic: apache tomcat connector  (Read 2194 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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.

Offline
*
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/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
Code: [Select]
<VirtualHost x.x.x.x:80>
  ServerName [servername]
  ProxyRequests Off 
  ProxyPreserveHost On
  ProxyPass / http://[IP]:8080/
  ProxyPassReverse / http://[IP]:8080/
</VirtualHost>

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"/>
</Host>