0

Hi I am new to AJP configuration. I have Apache configured with port 80 in one server and Tomcat with AJP 1.3 in another linux server where we deployed our war files. How to configure Apache to listen to Tomcat AJP in another linux server. Apache redirection needed : /abc/def - So that when I hit URL http://server1/abc/def - it should load the page based on war file deployed in Server 2 Tomcat webapps

Server 1: Apache is running with Port 80 Server 2: Tomcat is running with Port 7000 and AJP in 7009

Nightfury
  • 3
  • 1
  • 3
  • Do you want to configure mod_jk or mod_proxy? – Pandurang Aug 02 '20 at 05:58
  • I have apache in one Server and tomcat setup in four servers. So right now mod_jk is enabled. – Nightfury Aug 02 '20 at 08:28
  • You can refer https://stackoverflow.com/questions/41011820/how-to-install-mod-jk-apache-tomcat-connectors-on-windows-server – Pandurang Aug 02 '20 at 11:16
  • Sure let me try ... one quick question... which way is better mod jk or mod proxy !!!? – Nightfury Aug 02 '20 at 11:40
  • I have tried this setup ... it shows HTTP status 403 forbidden and mod jk logs it shows jk_handler::mod_jk.c No body with status=404 for worker – Nightfury Aug 02 '20 at 12:16
  • share Apache httpd configuration in question. Also let me know which URL are you using while access application directly through tomcat? – Pandurang Aug 02 '20 at 16:43

0 Answers0