Shibboleth SP - Http/1.1 Service Unavailable
frederic.jean at orange.com
frederic.jean at orange.com
Tue Oct 28 10:01:56 EDT 2014
Hello,
I'm trying to get a php application to use shibboleth SP for authentication.
I have installed Shibboleth SP (2.5) on the apche http server.
It is configured to work my my IdP.
I have configured a fake "/secure" URL which required shibboleth authentication.
When I call the URL, I get properly redirected to the IdP, I then authenticate and get redirected to my URL and thus get a 404 error, which is the expected behavior because the page does not exist.
Now if I just change the configuration to protect not just that dummy test URL but the actual application, I then get an "Http/1.1 Service Unavailable" when I try to connect to the application (I don't even get redirected to the IdP). When apache is not configured to require shibboleth authentication, the application works properly, it does not yet include the code to use the attribute provided by shibboleth sp, so I would expect no change in the application behavior when protected by shibboleth SP.
Here's my apache shibboleth config :
<Location />
AuthType shibboleth
Require shibboleth
#mode lazy session
ShibRequestSetting requireSession 0
# ShibRequestSetting requireSession 1
# ShibRequestSetting applicationId default
# require valid-user
# require shibboleth
ShibUseHeaders Off
</Location>
<Location /secure>
AuthType shibboleth
ShibRequestSetting requireSession 1
ShibRequestSetting applicationId default
require valid-user
ShibUseHeaders Off
</Location>
The problem occurs if I change /secure by /medecin (the actual application path) or if I try to enable requireSession on /
I can't see anything in the logs to explain this issue.
Does anybody know what could lead to this behavior ?
Thank you.
Frederic JEAN
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20141028/1f837ffc/attachment-0001.html
More information about the users
mailing list