|
|
|
|
|
|
µð·ºÅ丮
»ç¿ëÀÚ ÀÎÁõ¿¡¼ ¾ÆÀ̵ð »ý¼º¹æ¹ý
¾ÆÀ̵ð »ý¼º ¹æ¹ýÀº ¾Æ·¡¿Í °°½À´Ï´Ù.
1. ÇØ´ç µð·ºÅ丮¸¦ ÅÚ³ÝÀ¸·Î Á¢±ÙÇÑ´Ù.
2. htpasswd .htpasswd USERID
3. À§¿Í °°ÀÌ ÀÔ·ÂÇϽøé Æнº¿öµå¸¦ ¹¯½À´Ï´Ù.
4. ´Ù½ÃÇѹø ÀçÈ®ÀÎ ÇÕ´Ï´Ù.
5. .htaccessÆÄÀÏÀ» ¾Æ·¡¿Í °°Àº ³»¿ëÀ¸·Î ¸¸µç´Ù.
AuthName "»ç¿ëÀÚ ÀÎÁõ"
AuthType Basic
AuthUserFile /home/À¯ÀúID/html/µð·ºÅ丮¸í/.htpasswd
AuthGroupFile /dev/null
<Limit
GET POST>
require
valid-user
</Limit>
À§ ÀýÂ÷¸¦ ³¡³»½Ã¸é ¾ÆÀ̵𰡠»ý¼ºÀÌ µÇ¸ç, À¥ºê¶ó¿ìÀú¿¡ ÇØ´ç µð·ºÅ丮¸¦
Á¢¼ÓÀ» ÇÏ·Á°í ÇÏ¸é ¾ÆÀ̵ð¿Í Æнº¿öµå¸¦ ¹¯½À´Ï´Ù |
|
|
|
|
|
|
|
|