Re: MOD_PROXY Reverse Proxy - control URI access by client IP Address

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

 



* Todd Simons <tsimons@xxxxxxxxxxxxxxx> [2009-03-04 22:41]:
> We'd like to utilize one public hostname "http://webservers.domain.com";
> to rewrite different web apps, but control the access to the web app by
> ip address, similar to an "allow from" on a directory.

You could wrap the ProxyPasses in <Location> elements and put the
'Allow from 10.5.1.0/24' etc. in there. See the end of the ProxyPass
directive docs at http://httpd.apache.org/docs/2.2/en/mod/mod_proxy.html#proxypass
Proceed likewise for ProxyPassReverse.

cheers,
-peter

---------------------------------------------------------------------
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