Yes, it's possible.
1) You can use mod_rewrite for that, for example, i think:
RewriteCond %{REMOTE_HOST} =host1
RewriteRule ^/mysite http://server1/ [NC,P,L]
RewriteCond %{REMOTE_HOST} =host2
RewriteRule ^/mysite http://server2/ [NC,P,L]
2) Also, you can play with SetEnvIf:
SetEnvIF Remot
Hi,
is it possible to serve certain resources by IP/Net? Like bind's
views[1]? I'm ProxyPass'ing content and would like to serve different
content for external and internal users. Currently I'm unable to solve
the "problem" on the proxied apache.
Thanks, Helmut
[1]
http://www.oreillynet.com/pub/