特定のクライアントホストからの HTTPS リクエストだけを許可するフォワードプロキシーとして mod_proxy を設定する
Issue
特定のクライアントホストからの HTTPS リクエストだけを許可するフォワードプロキシーとして mod_proxy を設定するにはどうすれば良いですか? 制御する方法はありますか?
以下の設定を試してみましたが有効ではありませんでした。
ProxyRequests On
<Proxy http://*/*>
Order deny,allow
Deny from all
</Proxy>
<Proxy https://*/*>
Order deny,allow
Deny from all
Allow from 192.168.0
</Proxy>
すべてのクライアントからのすべての HTTP リクエスト (例 curl -v -k -x http://proxy-host:80/ http://http-server-host/) は予想通り拒否されますが、すべてのクライアントからの HTTPS リクエスト (例 curl -v -k -x http://proxy-host:80/ https://http-server-host/) はすべて許可されます。
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
- Apache httpd 2.2.x
- mod_proxy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
