¾ÆÆÄÄ¡ À¥ÀÎÁõÀº 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