What is Simplest Tomcat / Apache Connector (Windows)?

I have apache 2.2 and tomcat 5.5 running on a computer running Windows XP.

Which tomcat / apache connector is easiest to configure and well documented?

+3
source share
2 answers

mod_proxy_ajpit will be easiest to use if you are using Apache 2.2. This is part of the Apache distribution, so you do not need to install any additional software.

In yours httpd.confyou need to make sure that you are uploaded mod_proxyand mod_proxy_ajp:

LoadModule proxy_module modules / mod_proxy.so
LoadModule proxy_ajp_module modules / mod_proxy_ajp.so

Then you can use ProxyPass and ProxyPassReverse :

ProxyPass /portal ajp://localhost:8009/portal
ProxyPassReverse /portal ajp://localhost:8009/portal

Apache 2.2 .

+5

mod_jk mod_proxy, Tomcat.

0

Source: https://habr.com/ru/post/1696937/


All Articles