SP configuration for Apache virtual hosts

Peter Schober peter.schober at univie.ac.at
Tue May 19 20:06:54 UTC 2020

* Swartzentruber, Jeb A - swart2ja <swart2ja at jmu.edu> [2020-05-19 21:57]:
> The IdP returns to https://dev.sp.jmu.edu/Shibboleth.sso/SAML2/POST,
> which is "Page Not Found" ("POST /Shibboleth.sso/SAML2/POST
> HTTP/1.1" 404) in the access log.

You could have lead with that 2 emails ago. ;)
What's the content (if any) you see at that URL?
A nicely rendered website from some application, maybe?

> Is the problem that the vhost doesn't recognize <Location
> /Shibboleth.sso> defined in Apache's shib.conf?

There's probably something else eating the shib handler, e.g. a
proxypass or a rewrite routing all requests to a specific application.

> Yes, I currently have UseCanonicalName On. When I turn it off,
> requests to dev.sp.jmu.edu are redirected to 

There's something missing there, but either way, "UseCanonicalName On"
is preferred.

If the above isn't sufficient for you to identify your webserver
misconfiguration maybe you could provide the relevant parts of your
vhost(s) config.


More information about the users mailing list