Translated message

A translation of this page exists in English.

特定のクライアントホストからの HTTPS リクエストだけを許可するフォワードプロキシーとして mod_proxy を設定する

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content