# Basic 認証 の基本設定 AuthUserFile /path/to/.htaccess AuthGroupFile /dev/null AuthName "Please enter your ID and password" AuthType Basic require valid-user Satisfy Any Order Allow,Deny # FB のクローラを許可 SetEnvIf User-Agent "^facebookexternalhit.*$" fb_crawler SetEnvIf User-Agent "^facebookplatform.*$" fb_crawler Allow from env=fb_crawler