proxy restrictions/security config ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux