Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我在 .htaccess 文件中有以下内容:
AuthType Basic AuthName “限制区域” AuthUserFile /web/clients/.htpasswd 需要有效用户
这可以使目录私有,但是我收到 403 错误并且没有密码/用户弹出似乎甚至给了我机会?关于我做错了什么的任何想法,htaccess 和 htpasswd 都在我想要保护的目录中。
谢谢