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:// secret="123"

Apache fails to start and the Apache error log says:

AH00896: failed to make connection to backend:


AH00957: AJP: attempt to connect to

If it makes any difference, I'm using XAMPP for Windows 7.3.13


mod_proxy_ajp didn't support the secret option before Apache 2.5.

Please refer:

  • 1
    The docs says it is available from 2.4.42, but it is not released yet. Is there any way to know when it is supposed to be released? – galusben Mar 26 '20 at 11:16
  • 1
    It's available now. I just deployed this change to my server to add the secrets. – Kellen Murphy Apr 20 '20 at 19:50
  • @KellenMurphy what is the configuration you used ? Is ProxyPass / ajp:// secret="123" working . my httpd fail to start with that. – Viraj Sep 9 '20 at 10:32
  • 1
    @Viraj don't put quotes around the secret, i.e. ProxyPass / ajp:// secret=123 – Kellen Murphy Sep 16 '20 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.