New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

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>