I'm setting up a new server running CentOS 7 with Apache 2.4/Shibboleth 3.1/Tomcat 7 and using proxy_ajp to connect apache to tomcat.
I'm getting 403 from the site running on it. I've searched for solution on the internet, and tried them all without success. I am not a Unix Admin, more on operation side. I've asked Unix Admin, developers and no one were able to help. That's why I turn to the experts here for help.
The configuration running on the old server CentOS 6, Apache 2.2/Shibboleth 3.1/Tomcat 6 works.
Not sure what went wrong.
httpd.conf
<Location /xxxxxx>
AuthType shibboleth
ShibRequestSetting requireSession 1
Require valid-user
ProxyPass ajp://localhost:8009/xxxxxx
ProxyPassReverse ajp://localhost:8009/xxxxxx
ShibRequestSetting applicationId webmf
ShibRequestSetting REMOTE_ADDR X-Forwarded-For
ShibUseHeaders On
</Location>
Tomcat server.xml
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>
<Connector port="8009" enableLookups="false" URIEncoding="UTF-8" protocol="AJP/1.3" redirectPort="8443" />