Top / Apache / ÆÃÄê¤Î¥Ú¡¼¥¸¤ËBasicǧ¾Ú¤ò¤«¤±¤ë

httpd.conf¤Ç°Ê²¼¤Î¹àÌÜÄɲÃ

<Directory "/opt/awstats/wwwroot"> <-ǧ¾Ú¤ò¤«¤±¤¿¤¤¥Ç¥£¥ì¥¯¥È¥ê
   AuthType Basic
   AuthName "Awstats Secret Zone"
   AuthUserFile /etc/httpd/conf/.htpasswd
   Require user hogehogehoge <-¥æ¡¼¥¶Ì¾
</Directory>

°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô

[root@www conf]# htpasswd -c /etc/httpd/conf/.htpasswd hogehogehoge
New password:
Re-type new password:
Adding password for user hogehogehoge
[root@www conf]#

´ØÏ¢¥ê¥ó¥¯


¤³¤Îµ­»ö¤Ï

ÁªÂò»è Åêɼ
¤ª¤â¤·¤í¤«¤Ã¤¿ 1  
¤½¤¦¤Ç¤â¤Ê¤¤ 0  

Top / Apache / ÆÃÄê¤Î¥Ú¡¼¥¸¤ËBasicǧ¾Ú¤ò¤«¤±¤ë

¸½ºß¤Î¥¢¥¯¥»¥¹:11049


¥È¥Ã¥×   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS