Seita's programmer notes...
ラベル
Apache
の投稿を表示しています。
すべての投稿を表示
ラベル
Apache
の投稿を表示しています。
すべての投稿を表示
2015年3月20日金曜日
Apacheで特定のIPアドレスからのみリクエストを受け付ける場合
Allow From xxxx.xxxx.xxxx.xxxx を使う。
<Directory /APP> Order Allow,Deny Allow from 160.120.25.65 Allow from 127.0.0.0/8 </Directory>
http://stackoverflow.com/questions/714332/allow-request-coming-from-specific-ip-only
Apacheでサブディレクトリをリバースプロキシさせたくない場合
サブディレクトリをリバースプロキシさせたくない場合は、!を使う。
ProxyPass /mirror/foo/i !
ProxyPass /mirror/foo http://backend.example.com
http://httpd.apache.org/docs/2.2/ja/mod/mod_proxy.html#proxypass
http://serverfault.com/questions/391457/how-does-apache-merge-multiple-matching-location-sections
前の投稿
ホーム
登録:
投稿 (Atom)