°Ô½Ã¹° 1,369°Ç
   
¾ÆÆÄÄ¡ ÀÎÁõ (htpasswd)
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-06-23 (¼ö) 13:23 Á¶È¸ : 8937
±ÛÁÖ¼Ò :
                                
¾ÆÆÄÄ¡ À¥ÀÎÁõÀº apacheȯ°æ¿¡ ÀÎÁõ¼¼ÆÃÀ¸·Î ID/PASSWORD¸¦ ³Ö¾î¼­ º¸¾ÈÀ» °­È­ÇÏ´Â ÇÑ ¹æ¹ýÀÌ´Ù. ±âº»ÀûÀ¸·Î ¼ÂÆà µÇ¾îÀÖÁö ¾ÊÀ¸¹Ç·Î µû·Î ¿É¼ÇÀ» ÁÖ¾î ¼ÂÆÃÀ» ÇÏ¿©¾ß ÇÑ´Ù.

httpd.conf

<Directory "/home/XXXXX">
    Options Includes FollowSymLinks
   AllowOverride All   #AllowOverrideÀÇ ¿É¼ÇÀ» ALL·Î ¼öÁ¤
    Order allow,deny
    Allow from all
</Directory>



ÀÎÁõ°É¾îµÑ ÆäÀÌÁö .htaccess ¼³Á¤
AuthType Basic
AuthName "Password Required"
AuthUserFile /home/XXXXX/.htpasswd
AuthGroupFile /dev/null
ErrorDocument 401 "ERROOR , NOT CORRECT PASSWORD OR USER - by CHONNOM.COM"
Require valid-user


.htpasswd Æнº¿öµå ÆÄÀÏ »ý¼º
[root@localhost domain_collection]# /usr/local/apache/bin/htpasswd -c .htpasswd chonnom
New password:
Re-type new password:
Adding password for user chonnom



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.