apache confファイル IPアドレスでproxypass設定URLを分けたい
<If ipアドレスA -ipmatch ip アドレスA>
proxypass /test http://www.aaa.com
ProxyPassReverse /test http://www.aaa.com
</If>
<Else>
proxypass /test http://www.bbb.com
ProxyPassReverse /test http://www.bbb.com
</Else>
↑みたいなことをしたいのですができません。
どうやればIPアドレスでURLの振り分けができるのでしょうか。
apache2.4です。