jjzjj

AuthType

全部标签

php - 使用 AuthType Basic 登录后的 .htaccess 500 错误

这是我的.htaccess文件:AuthTypeBasicAuthName"LOGIN"AuthUserFile.htpasswdRequirevalid-user登录后,我收到500错误。如果我清除.htaccess文件,它就可以正常工作。有什么想法吗? 最佳答案 我认为你必须写下你的.htpasswd的完整路径(在linux上:/path/to/.htpasswd)来自http://weavervsworld.com/docs/other/passprotect.htmlTroubleshootingMakesurethatth