Redirect と ProxyPass
Apacheにて、ちょっとサイトの一部を別サーバにリダイレクトすることになって RedirectMatch の設定をしてみたんだけど、後段の逆プロクシ設定に上書きされて踏み潰されてしまうみたい。
http://www.hietavirta.net/blog/item/335 によれば ProxyPass避けすればいいそうだ。
Redirect permanent /subfolder/ / ProxyPass /subfolder ! ProxyPass / http://localhost:8080/site/ ProxyPassReverse / http://localhost:8080/site/ ProxyPassReverseCookiePath /site /
- Redirect, RedirectMatch
- ProxyPass 「!」