Apache設定

  • このエントリーをはてなブックマークに追加

.htaccessとかで2重に制限を加える場合(basic認証とIP制限とか)、以下の様にすればよい。
2重設定する "Satisfy any" がポイント。

AuthType Basic
AuthDBUserFile /etc/.....(設定ファイル名)
Require pass-user

Satisfy any

Order Allow,Deny
Allow from xyz.xyz.0.0/16

(Visited 1 times, 1 visits today)
  • このエントリーをはてなブックマークに追加

SNSでもご購読できます。

コメントを残す

*