Wednesday, February 17, 2010

access tomcat on port 80 using mod_proxy

Apache 2 introduces the mod_proxy module. It is a standard module in most modern distros. This module pretty much deprecates the need for mod_jk2. Full documentation for mod_proxy is available.

To setup mod_proxy_ajp add something like the following inside of your Apache config file /etc/httpd/conf/httpd.conf


vim /etc/httpd/conf/httpd.conf

add two lines to the end.

ProxyPass /AMP ajp://127.0.0.1:8009/AMP
ProxyPassReverse /AMP ajp://127.0.0.1:8009/AMP

No comments:

Post a Comment