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 Remote_Addr "^192\.168\." user=lan
RewriteCond %{ENV:user} =lan
RewriteRule ^/mysite http://server1/ [NC,P,L]
# fallback
RewriteRule ^/mysite http://server2/ [NC,P,L]
Be careful, i don't test it.
El 08/09/11 13:59, Helmut Schneider escribió:
> 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.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]