Skip to content

Instantly share code, notes, and snippets.

@mitchkramez
Last active December 15, 2015 06:19
Show Gist options
  • Save mitchkramez/afa6f73954c54466730f to your computer and use it in GitHub Desktop.
Save mitchkramez/afa6f73954c54466730f to your computer and use it in GitHub Desktop.
Ignore HTTP Auth for a Specific IP (vhost.conf)
<Directory "/var/www/vhosts/vhost.com/httpdocs">
Satisfy Any
Order deny,allow
Deny from all
Allow from 11.11.11.11
</Directory>
<Directory "/var/www/vhosts/vhost.com/httpsdocs">
Satisfy Any
Order deny,allow
Deny from all
Allow from 11.11.11.11
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment