Chr*_*ris 2 kerberos authentication .htaccess apache-2.2
我们的网站http://subdomain.site.com/上有 .htaccess :
AuthType Kerberos
AuthName "Internet ID"
require valid-user
order deny,allow
deny from all
allow from all
Run Code Online (Sandbox Code Playgroud)
在站点的子目录http://subdomain.site.com/subdirectory/上,我们有一个 .htaccess:
AuthType none
Satisfy any
Run Code Online (Sandbox Code Playgroud)
原因是在这个子目录/我们有不同的身份验证机制,不想使用 kerberos 作为身份验证。但问题是,在 chrome 中,.htaccess 身份验证仍然会弹出,但 firefox、opera、IE 在加载页面之前不会提示进行此身份验证。
我无法理解服务器端配置如何根据浏览器以不同方式呈现给最终用户?我的子目录 .htaccess 中是否缺少某些内容?
我只是复制了这个。Chrome 正在请求 /favicon.ico 并获得 HTTP/1.1 401 需要授权。其他浏览器忽略它。Chrome 会显示一个身份验证对话框。尝试将此添加到您网站http://subdomain.site.com/上的 .htaccess
<Files "favicon.ico">
AuthType none
Satisfy any
</Files>
Run Code Online (Sandbox Code Playgroud)
这是错误... http://code.google.com/p/chromium/issues/detail?id=12876 ...非常糟糕。
| 归档时间: |
|
| 查看次数: |
8812 次 |
| 最近记录: |