Tuesday, November 24, 2009

Pass HTTP Basic Authentication from Apache to Tomcat

In order for Tomcat to receive http basic authentication credentials from Apache change the AJP13 connector configuration in the Tomcat server.xml file. Add tomcatAuthentication="false" to the Connector line like the line below.

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


No comments: