ネットワーク上に 2 つのサーバーがあります。1 つは外部 IP を持ち、もう 1 つは内部のみです。http://my.site.com/Motes/にアクセスすると、実際にはアドレス 192.168.1.102 の内部サーバーのルートに移動するようにサーバーをセットアップしました。
外向きサーバーの httpd.conf:
ProxyPass /Motes/ http://192.168.1.102/
ProxyPassReverse /Motes/ http://192.168.1.102/
<Proxy http://192.168.1.102/*>
Order allow,deny
Allow from All
AuthType Digest
AuthName "Motes"
AuthDigestDomain /
AuthDigestProvider file
AuthUserFile ps.wd
AuthGroupFile group.file
Require group usergroup
</Proxy>
これは、次を追加して内部サーバーでダイジェスト認証を有効にするまで機能します。
AuthType Digest
AuthName "Motes"
AuthDigestDomain / /Motes/
AuthDigestProvider file
AuthUserFile ps.wd
AuthGroupFile group.file
Require group usergroup
他の内部サーバー ルート .htaccess ファイルに。次に、私の内部サーバーは次のように不平を言います:
[Sat May 04 09:37:32 2013] [error] [client ***.***.***.***] Digest: uri mismatch - </Motes/> does not match request-uri </>
誰でもこれを修正する方法を知っていますか?