Last active
August 29, 2015 14:25
-
-
Save dtateii/2e2bf7582fb8126f28bf to your computer and use it in GitHub Desktop.
Rackspace Cloud Sites – Restrict File Access to Client IP passed through from Load Balancer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN Files Restrict | |
<Files {sensitive-file.php}> | |
Order deny,allow | |
Deny from all | |
allow from env=allowclient | |
SetEnvIf X-Cluster-Client-Ip {nnn.nnn.nnn.nnn} allowclient | |
</Files> | |
# END Files Restrict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment