I'm having trouble setting up a secret between Apache (2.4.41) and Tomcat (7.0.99). I think I have it setup correctly in Tomcat (server.xml):
<Connector ... secretRequired="true" secret="123" />
When I try to setup the Apache end (httpd-ajp.conf):
ProxyPass / ajp://127.0.0.1:8009/ secret="123"
Apache fails to start and the Apache error log says:
AH00896: failed to make connection to backend: 127.0.0.1
and
AH00957: AJP: attempt to connect to 127.0.0.1:8009
If it makes any difference, I'm using XAMPP for Windows 7.3.13
Best Answer
mod_proxy_ajp
didn't support thesecret
option before Apache 2.5.Please refer:
v2.4 document: https://httpd.apache.org/docs/2.4/mod/mod_proxy_ajp.html
v2.5 document: https://httpd.apache.org/docs/trunk/mod/mod_proxy_ajp.html