【发布时间】:2010-10-30 12:11:15
【问题描述】:
我使用的是 Apache 2,并且在 httpd.conf 中有一个自定义的 401 页面
ErrorDocument 401 /error/unauthorized.html
当我访问受保护的资源时,所有浏览器都会显示基本的 http 身份验证对话框。如果我单击“取消”,除 Safari(v3 和 v4)之外的所有浏览器都将显示自定义 401 页面。 Safari 只显示当前页面。
有没有办法让 Safari 通过 Apache 配置和/或 mod_perl 处理程序显示 401 页面?
【问题讨论】:
标签: safari apache2 http-status-code-401 mod-perl2 custom-error-pages