【发布时间】:2022-09-26 16:53:21
【问题描述】:
.htaccess
AuthName \"Restricted Area\"
AuthType Basic
AuthUserFile path/.htpasswd
require valid-user
.htpasswd
test:FUgb1Qdh6571o
#This tool is used to generate password file http://tools.dynamicdrive.com/password/
当 Apache 在 Windows 10 上运行并且我试图访问文件夹身份验证对话框出现时,它不会进行身份验证并且不允许访问受限文件夹。
阿帕奇错误日志:
AH01617: user test: authentication failure for \"/folder\": Password Mismatch
当 Apache 在 Ubuntu 上运行时,相同的设置可以正常工作
有什么问题?不同的密码存储方法?
标签: windows apache basic-authentication