Apache WebDAV配置,获取与需要使用惰性会话的有效用户相关的错误
我正在尝试配置WebDAV环境。然而,我不断地发现这个错误: htaccess:要求有效用户未指定有效会话,是否使用惰性会话 看着Fiddler,我看到HTTP代码500 所有谷歌搜索似乎都包含对Shibboleth的引用,我已经安装了Shibboleth,但没有在这个路径结构中调用它Apache WebDAV配置,获取与需要使用惰性会话的有效用户相关的错误,apache,.htaccess,session,shibboleth,Apache,.htaccess,Session,Shibboleth,我正在尝试配置WebDAV环境。然而,我不断地发现这个错误: htaccess:要求有效用户未指定有效会话,是否使用惰性会话 看着Fiddler,我看到HTTP代码500 所有谷歌搜索似乎都包含对Shibboleth的引用,我已经安装了Shibboleth,但没有在这个路径结构中调用它 <Directory "/path/to/webdav"> Options Indexes MultiViews FollowSymLinks AllowOverride None Ord
<Directory "/path/to/webdav">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:443>
ServerName my.domain.com
DocumentRoot "/path/to/root"
...
Alias /aaa/bbb /path/to/webdav/aaa/bbb
<Location /aaa/bbb>
Options Indexes
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /path/to/webdav.pwd
Require valid-user
</Location>
</VirtualHost>
下面的解决方案
本质上,在我的主机配置的最后几行中有一个Shibboleth会话的总体要求
<PathRegex regex=".*" authType="shibboleth"
requireSession="true" requireSessionWith="Intranet" />
我只需在这些行之前在webdav文件夹中添加一个例外
<Path name="webdav" authType="shibboleth" requireSession="false" />