logo

Black Friday
Sale

  •  99.9% 在线时间
  •  免费 SSL 证书
  •  24/7 在线支持
  •  30天退款保证
立即开始

高达

91

%

OFF

04
03
18
42
黑色星期五促销!: 虚拟主机
低至 4.75CNH /月!
查看所有优惠
×

知识库

查找有关信息功能,故障排除指南,
以及与虚拟主机相关的其他技术信息的文章。

Why does a password-protected directory ask twice for the password?

引用:
htpassword htaccess password protect directory directory password

This is happening because you have a password-protected subfolder on your account. If there is a .htaccess file above the subfolder you are trying to password protect, Apache webserver is confused and asks the password for each .htaccess file it finds in its path. In order to solve this, either move the password protection to your web root folder or remove any rewrite rules/redirections.