»Ë»Ñ Æ÷·³

mycloud ¾ÆÆÄÄ¡¼­¹ö ¼³Á¤¿¡¼­ .htaccess¿Í .htpasswd ÆÄÀÏÀ» ÅëÇÑ ÀÎÁõ°ü·Ã Áú¹®

  • [* ºñȸ¿ø *]
  • µî·ÏÀÏ 2015-01-07 21:18
  • Á¶È¸¼ö 460
¿ì¼± ¿ì¼º±º´ÔÀÇ

WD My Cloud ÆÄÀÏ °øÀ¯ ½±°Ô Çϱâ http://www.wsgvet.com/bbs/board.php?bo_table=iomega&wr_id=554

±ÛÀ» Âü°íÇÏ¿© link À¥¼­¹ö¸¦ ¶ç¿ü½À´Ï´Ù.

¿©±â¼­ Ãß°¡·Î »ç¿ëÀÚ ÀÎÁõÇÏ´Â °úÁ¤À» ³Ö±â À§ÇØ ¼³Á¤À» ÇÏ¿´½À´Ï´Ù.

¹®Á¦¸¦ ¸ÕÀú ¸»¾¸µå¸®ÀÚ¸é ÀÎÁõâµµ Á¤»óÀûÀ¸·Î ¶ß°í ID/PASSWD¸¦ ÀÔ·ÂÇϸé Á¤»ó ÀÛµ¿ÇÏÁö¸¸

Á¤ÀÛ ID¸¸ Àû°í PASSWD¸¦ ÀûÁö ¾Ê°í ·Î±äÇصµ ·Î±äÀÌ µÅ¹ö¸°´Ù´Â Á¡ÀÔ´Ï´Ù.

´ÙÇàÈ÷ htpasswd·Î µî·ÏÇÏÁö ¾ÊÀº »ç¿ëÀÚ´Â ·Î±äµÇÁö ¾Ê½À´Ï´Ù.

´ÙÀ½Àº Á¦°¡ ¼³Á¤ÇÑ ÆÄÀϵéÀÇ ³»¿ëÀÔ´Ï´Ù.

Âü°í·Î °¡Àå ùÁÙÀº ÆÄÀÏ À§Ä¡¸¦ ¾Ë·ÁÁÖ±â À§ÇØ ÁÖ¼®À¸·Î Ç¥½ÃÇÏ¿´½À´Ï´Ù.

-----------------------------------------------------------------
#/etc/apache2/sites-available/link.conf
Alias /link /shares/link

Options Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig
Order Deny,Allow
Allow From All

AccessFileName .htaccess
------------------------------------------------------------------

------------------------------------------------------------------
#/shares/link/.htaccess
AuthType Basic
AuthName "You must sign in"
AuthUserFile /shares/link/.htpasswd
AuthGroupFile /dev/null
Require valid-user
------------------------------------------------------------------


À§¿Í °°ÀÌ ¼³Á¤ÆÄÀÏÀÌ ÀÖ´Â »óÅÂÀÌ°í

/shares/link/.htpasswd ÆÄÀÏ ³»¿ëÀº htpasswd·Î µî·ÏÇÑ ¾ÆÀ̵ð¿Í ºñ¹Ð¹øÈ£°¡ ´ÙÀ½°ú °°ÀÌ ¾ÏȣȭµÇ¾î µé¾îÀÖ½À´Ï´Ù.

test:$apr1$BfzKNn5b$aWCxnUrdV10D7kpphsRdK.


¹¹°¡ À߸øµÈ°É±î¿ä ¤Ð¤Ð

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û