Skip to content

Instantly share code, notes, and snippets.

@nicolasmarengo
Created July 10, 2013 12:34
Show Gist options
  • Save nicolasmarengo/5965926 to your computer and use it in GitHub Desktop.
Save nicolasmarengo/5965926 to your computer and use it in GitHub Desktop.
.htaccess with Load Balancer
SetEnvIF X-FORWARDED-FOR "^11\.111\.11\.11$" AllowIP
order deny,allow
allow from 11.111.11.11
allow from env=AllowIP
deny from all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment