Homepage

아파치에 인증걸기 Digest

Naan 2011. 6. 23. 17:42
320x100
암호파일 생성
htdigest -c /home/test/.htdigest "Realm Name" Username

아파치 세팅
<Directory /var/www/html/암호할폴더명/>
        AuthType Digest
        AuthName "Realm Name"
        AuthDigestProvider file
        AuthDigestQop auth
        AuthUserfile /home/test/.htdigest
        Require valid-user
</Directory>



320x100