fracasula
4/17/2014 - 2:47 PM

Protecting a specific location with Apache allowing only a range of IPs (and/or a domain) [whitelist IP]

Protecting a specific location with Apache allowing only a range of IPs (and/or a domain) [whitelist IP]

<LocationMatch ^/(folder1|folder2|folder3\/child)/(.*)[\/]{0,1}feed>
	Order deny,allow
	Deny from all
	Allow from mydomain.com 80.80.80.10/15
</LocationMatch>