
apache2.4 リバース プロキシで問題が発生しています。
Apache の設定:
ProxyPass "/" "http://domain2.com"
ProxyPassReverse "/" "http://domain2.com/"
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
# If the path restricted cookie is set or the request asks for Javascript, images, or other content we don't need to protect
RewriteCond %{HTTP_COOKIE} t_path=.+
#RewriteCond %{REQUEST_URI} \.(?!(html|htm|pdf))
RewriteRule ^/(.*)$ http://domain2.com/$1 [P,QSA]
# If we have a token in the query string, verify it
RewriteCond %{QUERY_STRING} t=(.+)$
RewriteRule ^(/.*) /auth/?path=$1 [passthrough,QSA]
RewriteRule ^.*$ - [F]
<Location /test>
SetHandler modperl
PerlOptions +GlobalRequest
PerlResponseHandler test::Handler
</Location>
URLをクリックするとhttp://domain1.com/abc/cdb/?t=787986ブラウザでは、" The requested URL /auth/ was not found on this server.
" というエラーがスローされます。また、"リバース プロキシ ラインを削除 -> Apache を再起動 -> ブラウザで URL をヒット -> リバース プロキシ ラインを追加 - Apache を再起動" という手順を実行すると、正常に動作します (キャッシュされている可能性があります)。test::Handler
有効な URL とそのパラメータを確認し、リダイレクト URL を返します。リバース プロキシと場所に問題がありました。解決するために誰か助けてください。