htaccess¡§¥Ñ¥¹¥ï¡¼¥ÉÀ©¸Â

Ǥ°Õ¤Î¥Ú¡¼¥¸¡Ê¥Ç¥£¥ì¥¯¥È¥ê¡Ë¤Ë¥Ñ¥¹¥ï¡¼¥ÉÀ©¸Â¤òÀߤ±¤¿¤¤¾ì¹ç¤Ï¡¢.htaccess¥Õ¥¡¥¤¥ë¤È.htpasswd¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ·¤Þ¤¹¡£


  • .htaccess¤Îµ­½ÒÎã

    ¤³¤Î¾ì¹ç¤Ï¡Öfriend¡×¤È¤¤¤¦ID¤È¤½¤ì¤ËÂбþ¤·¤¿Àµ¤·¤¤¥Ñ¥¹¥ï¡¼¥É¤ò»ý¤Ä¿Í¤Ë¤Î¤ß¥¢¥¯¥»¥¹¤òµö²Ä¤·¤Þ¤¹¡£

    AuthUserFile /domain/userdir/home*/FTP-ID/***/.htpasswd
    AuthGroupFile /dev/null
    AuthName "Passwd Page !"
    AuthType Basic
    <Limit GET>
    require user friend
    </Limit>

    1¹ÔÌܤϡ¢.htpasswd¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¾ì½ê¤Î¥Õ¥ë¥Ñ¥¹¤È¤Ê¤ê¤Þ¤¹¡£
    FTP-ID¤Ï¤ªµÒÍͤ¬FTP¥µ¡¼¥Ð¤Ë¥¢¥¯¥»¥¹¤¹¤ëºÝ¤ÎID¤Ç¤¹¡£
    home*¤Ï¤ªµÒÍͤˤè¤Ã¤Æ°Û¤Ê¤ê¤Þ¤¹¤¬¡¢FTP¥½¥Õ¥È¤ÇÄ´¤Ù¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£
    ***¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ò¤«¤±¤¿¤¤¥Ç¥£¥ì¥¯¥È¥ê̾¤Ë¤Ê¤ê¤Þ¤¹¡£
    2000ǯ2·îº¢°ÊÁ°¤Ë¤´·ÀÌó¤Î¤ªµÒÍͤξì¹ç¤Ï1¹ÔÌܤΡÖ/domain/¡Á¡×¤Îµ­½Ò¤¬°Û¤Ê¤Ã¤Æ¤ª¤ê¤Þ¤¹¡£
    ¤³¤Î¾ì¹ç¡¢¡Ö/domain/ftp-root/domain/FTP-ID/***/.htpasswd¡×¤ÎÍѤˤʤê¤Þ¤¹¡£
    3¹ÔÌܤϤΡÖAuthName¡×¤Ë¤Ï¥Ñ¥¹¥ï¡¼¥ÉÆþÎÏÍÑ¥¦¥£¥ó¥É¥¦¤Î¥¿¥¤¥È¥ë¤Ç¤¹¡£
    ¤³¤ÎÎã¤Ç¤Ï¡ÖPasswd Page!¡×¤È¤Ê¤ê¤Þ¤¹¡£

  • .htpasswd¤Îµ­½ÒÎã

    Ʊ¤¸¤¯¡Öfriend¡×¤È¤¤¤¦ID¤È¤½¤ì¤ËÂбþ¤·¤¿Àµ¤·¤¤¥Ñ¥¹¥ï¡¼¥É¤ò»ý¤Ä¿Í¤Ë¤Î¤ß¥¢¥¯¥»¥¹¤òµö²Ä¤¹¤ë¾ì¹ç¤ÎÎã¤Ç¤¹¡£

    friend:tEJ5R28IDIxtQ

    ¼ÂºÝ¤Î¥Ñ¥¹¥ï¡¼¥É¤Ç¤Ï¤Ê¤¯¡¢¥Ñ¥¹¥ï¡¼¥É¤ò°Å¹æ²½¤µ¤»¤¿¤â¤Î¤òµ­½Ò¤·¤Þ¤¹¡£
    °Å¹æ²½¥Ñ¥¹¥ï¡¼¥É¤Ï¤³¤Á¤é¤ÇºîÀ®¤Ç¤­¤Þ¤¹¡£
    ¥æ¡¼¥¶ID
    ¥Ñ¥¹¥ï¡¼¥É
    .htpasswd¤òºîÀ®¤·¤Þ¤·¤¿¤é¡¢.htaccess¤ÈƱ¤¸¤¯ASCII¡Ê¥Æ¥­¥¹¥È¡Ë·Á¼°¤Ë¤ÆžÁ÷¤·¤Þ¤¹¡£
    .htpasswd¤ÎžÁ÷Àè¤Ï.htaccess¤Ç»ØÄꤷ¤¿¾ì½ê¤È¤Ê¤ê¤Þ¤¹¡£

¡¡

¡¡

¢ª¥Û¡¼¥à¥Ú¡¼¥¸ºîÀ®¥¬¥¤¥É¤ØÌá¤ë

¡¡
¢¬¾å¤ËÌá¤ë