Hi

I'm new to Apache configurations. Could you please suggest how I might achieve the below proxy restrictions within Apache 2.2, thanks.

I need the apache forwarding proxy's restrictions to only allow :
 - Any client computers to be able to access web server "srv-a".
 - A client computer "client-b" to be able to access any web servers.

As such, the proxy's restrictions need to prevent:
- Any other client computers (ie other than "client-b") from accessing other web servers (ie other than "srv-a").

I've tried the below and it seems to work, but please do suggest any better configurations, thanks.

 ProxyRequests On
 ProxyVia Off

 <Proxy srv-a>
    Order deny,allow
   Deny from all
   Allow from all
 </Proxy>

 <ProxyMatch ^(?!srv-a)>
    Order deny,allow
   Deny from all
   Allow from client-b
 </ProxyMatch>

Thanks,
Declan




---------------------------------------------------------------------
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: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to