.htaccessã§BASICèªè¨¼ã¨IPå¶éãä½µç¨ãã
èªåç¨ã¡ã¢ã
å¥ã«ããã¾ã§é£ããããã§ã¯ãªããä¸è¡æ¸ãå ããã ãã
satisfy any
ãã¨ãã°ããã¼ã«ã«ãããã¯ã¼ã¯(192.168.0.0/16)ããã¯èªè¨¼ä¸è¦ã§
ãã以å¤ããã®ã¢ã¯ã»ã¹ã¯BASICèªè¨¼ãåãããããæã¯ã以ä¸ã®ããã«
AuthUserFile /home/someone/.htpasswd
AuthGroupFile /dev/null
AuthName "Please input your ID and password."
AuthType Basic
require valid-user
deny from all
allow from 192.168.
satisfy any
ã¨ãã£ãå
·åã§è¨è¿°ããã°ããã
éã«ä¸¡æ¹ã¨ãæºãããªããã°(IPå¶éãã¯ãªã¢ãããã¤BASICèªè¨¼ããããå ´å)ã¨ãããã¨ãã¯ã
anyãallã«ãã¦ãã¾ãã°ãã