Shibboleth idp installation with Jetty 9 and Apache2 reverse proxy 404 error

I am implementing a solution where I have to install Shiboleth idp on Jetty 9 behind an apache2 reverse proxy.

I am following this tutorial.

My problem is when I am trying to access or I get a 404 error.

However when I am using curl connected to the console and I access these two URL’s http://localhost:8080/idp/shibboleth and http://localhost:8080/idp/status I get the normal response from the Shibboleth instance.

I think this pinpoints the problem on the reverse proxy?