apache tomcat connector

Started by solutions, July 27, 2016, 12:54:00 PM

Previous topic - Next topic

solutions

hello i want to know about apache tomcat connector, how can i use mod_jk in CWP.

lytrongkhoa

you can use apache mod_proxy
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so


<VirtualHost x.x.x.x:80>
  ServerName [servername]
  ProxyRequests Off 
  ProxyPreserveHost On
  ProxyPass / http://[IP]:8080/
  ProxyPassReverse / http://[IP]:8080/
</VirtualHost>


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