如何设置ShibRequireSession"在htaccess中打开或关闭URL


how to set "ShibRequireSession" on or off for a URL in htaccess

我想要这样的东西,当用户访问url www.example.com时不应用规则但是,当用户访问www.example.com/something else时规则应该是这样的,

->http://www.example.com/something else
->http://www.example.com/something else1
->http://www.example.com/something else2
AuthType shibboleth
ShibRequireSession On
Require user

但是在用户访问www.example.com/someother thing的同一实例中,这些规则不应该应用于url。

我不想创建另一个文件夹并单独写一个。htaccess,

是可能的,请告诉我!!

用这个,

AuthType shibboleth   
ShibRequireSession Off
require shibboleth

和,调用/Shibboleth.sso/Login?target=http://www.example.com/something else2

并使用HTTP_SHIB_... variable捕获环境变量并使用shibboleth身份验证