Apache proxy restrictions config?
Hi
I'm new to Apache proxy configurations. Could you suggest how I might achieve the below proxy restrictions within Apache 2.2, or could you point me to any doco on the subject (apart from the Apache manuals, as I've consulted them already), 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").
So I tried the following , but the config seems to prevent "srv-a" from being accessed by all client computers except client-b".
ProxyRequests On
ProxyVia Off
<Proxy srv-a>
order deny,allow
Deny from all
Allow from all
</Proxy>
<Proxy *>
order deny,allow
Deny from all
Allow from client-b
</Proxy>
Any suggestions on how I should be configuring the apache proxy?
Regards,
Declan
|
Recent comments
21 hours 42 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 14 hours ago
2 days 3 hours ago
2 days 4 hours ago