小编mek*_*oka的帖子

Apache Config - 从身份验证中排除位置

我有一个受Shibboleth身份验证模块保护的Web应用程序.我目前的配置如下

<Location /MyApp>
 AuthType shibboleth
 ShibUseHeaders On
 ShibRequestSetting requireSession 1
 require shibboleth
</Location>
Run Code Online (Sandbox Code Playgroud)

陈词滥调是一个身份验证模块,提供SSO功能和电流引导用户的身份提供商为用户输入登录凭据.我希望能够打开一个特定的URL,以便验证模块绕过URL.我尝试了以下但它似乎没有工作,我得到一个加载URL的空白页面

方法1

<Location /MyApp/Login.html>
  Satisfy Any
  Allow from all
  AuthType None
  Require all granted
</Location>
Run Code Online (Sandbox Code Playgroud)

方法2

<Location /MyApp/Login.html>
  AuthType shibboleth
  ShibRequestSetting requireSession 0
  require shibboleth
</Location>
Run Code Online (Sandbox Code Playgroud)

我做了一些额外的调试,看起来问题是Login.html加载的其他文件- 例如css,js等.在Apache中配置它的正确方法是什么,以便可以从身份验证中绕过Login.html

谢谢

apache authentication location shibboleth single-sign-on

8
推荐指数
1
解决办法
8463
查看次数