などのURLを転送できるようにしたい
http://external_url.com/auth => http://internal_url.com:8080/app/auth
https://external_url.com/w/my-account => https://internal_url.com:8080/app/LogIn.do
https://external_url.com/w/forgot-password => https://internal_url.com:8080/app/ForgotPassword.do
https://external_url.com/w/register-user => https://internal_url.com:8080/app/CustomerRegistration.do
http://external_url.com/w/logout => https://internal_url.com:8080/app/LogIn.do
標準のミラー URL を tomcat アプリに転送することはできますが、カスタムの external_url を転送することはできません。アイデアはありますか?
私は使用してみましたProxyPathMatch
:
ProxyPathMatch ^(/\/w\/forgot\-password)$ http://internal_url.com:8080 /app/ForgotPassword.do
しかし、Apacheはそれが間違っていると不平を言っています。
助けてくれてありがとう。