tkuchikiの日記

新ブログ https://blog.tkuchiki.net

2013-02-22から1日間の記事一覧

Apache と Nginx でBasic認証をかける&特定IPのみ許可の設定

設定する度にググっているのでメモ。 Apache # Basic auth AuthUserFile /var/www/html/example.com/.htpasswd AuthGroupFile /dev/null AuthName "basic authentication" AuthType Basic require valid-user Satisfy any Order deny,allow Deny from all Al…