我有 Apache + Passenger 设置,其中 Rails 应用程序位于域根目录中。该应用程序将受Shibboleth保护,但要求
/Shibboleth.sso/Metadata
从 Rails返回404
错误。
如果我从 DocumentRoot 中删除 Rails 应用程序(重命名文件夹),那么 Shibboleth 会正确地为我提供元数据,但一旦我恢复 Rails 应用程序就会再次停止。
如何阻止乘客处理该 URL?我应该alias
去某个地方吗?在哪里?
编辑:我也试过这个,但没有效果:
<Location /Shibboleth.sso>
SetHandler shib
</Location>