Whitelisting servers from behind an AWS Elastic Load Balancer with Apache

Sometimes you need to limit access of a web directory to a specific set of IP addresses. Normally this is pretty straightforward with the <Directory>, <Location>, or <LocationMatch> directives in Apache’s config file. For instance, if I wanted to limit access to a single IP address 10.0.0.1, my config might look like this: <LocationMatch "/protected*/">… Continue reading Whitelisting servers from behind an AWS Elastic Load Balancer with Apache