0
내 응용 프로그램을 보호하기 위해 다음과 같은 코드를 가지고 :htaccess로와의 htpasswd 인증이 실패
htaccess로 :
AuthType Basic
AuthName "My Protected Area"
AuthUserFile .htpasswd
Require valid-user
.htpasswd :
username:$apr1$Am/5PMEt$JofEYwKBM8rhEnsoLndir/
.htpasswd 파일은 같은에 디렉토리를 .htaccess 파일로 사용하십시오.
인증을 요청하지만 500 서버 오류가 발생합니다. 방금 this tool을 사용했기 때문에 내가 뭘 잘못하고 있을지 궁금해하니?
감사합니다. 오류가 다른 문제로 인해 발생되는 것처럼 http://www.askapache.com/online-tools/htpasswd-generator/
AuthType Basic
AuthName "My Protected Area"
AuthUserFile /var/www/public_html/full/path/to/.htpasswd
Require valid-user
Satisfy All
은 그렇지 않으면 소리 다음 .htpasswd을 변경