Apache2.2までとの違い、Basic認証と併用など
Apache2.4のアクセス制限
OTHER FAQ
カテゴリ | Core Ver. | 関連モジュール | タイトル |
---|---|---|---|
コンテンツの管理 | 8.9.x | Dialog Modal Canvas | drupal 8 の標準機能のダイアログ/ポップアップを表示する方法 |
コンテンツの作成 | 8.9.x | CKEditor | CKEditor編集中の見た目をフロントと全く同様にする方法 |
コンテンツの作成 | 8.9.x | node | ノード保存時の前回値の参照方法 |
PHP | 8.9.x | PHP | YamlをPHP配列にする方法 |
SESSION | 8.9.x | api | $_SESION操作のAPI |
サイトの環境設定 | 8.9.x | 編集 | |
Migrate | 9.x | drush config | Upgrade source(環境) を 変更したときにやるべきこと |
コメント
■ 全て許可する
パーマリンク Submitted by actbrain on 2017/06/28 23:37.
■ 全て許可する
- Apache2.2
-- Order Deny,Allow
- Apache2.4
-- Require all granted
■ 一部のIPのみ許可する
- Apache2.2
-- Order Allow,Deny
-- Allow from 172.0.0.1
- Apache2.4
-- Require all denied
-- Require ip 127.0.0.1
■ Basic認証または一部のIPから許可
- Apache2.2
-- Satisfy Any
--
-- AuthUserFile /etc/httpd/conf/.htpasswd
-- AuthGroupFile /dev/null
-- AuthName "Basic Auth"
-- AuthType Basic
-- Require valid-user
--
-- Order Allow,Deny
-- Allow from 172.0.0.1
- Apache2.4
-- <RequireAny>
--- AuthUserFile /etc/httpd/conf/.htpasswd
--- AuthGroupFile /dev/null
--- AuthName "Basic Auth"
--- AuthType Basic
--- Require valid-user
---
--- Require all denied
--- Require ip 127.0.0.1
-- </RequireAny>
ページ