We describe how to configure an AJP connector in Tomcat that is used to communicate with the Apache HTTP webserver.

Creating an AJP connector

To make the Apache web server able to "talk to" Tomcat, an AJP connector has to be created.

Therefor, edit the file conf/server.xml in Tomcat's home directory and, if not already there, add an AJP connector as shown in the line below:

<Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

The connectors that are predefined by default, e.g., the connector for port 8080, should be removed or at least commented out.

To make the changes work, restart Tomcat.