Skip to content

Instantly share code, notes, and snippets.

@danackerson
Created October 6, 2010 15:10
Show Gist options
  • Save danackerson/613498 to your computer and use it in GitHub Desktop.
Save danackerson/613498 to your computer and use it in GitHub Desktop.
Order deny,allow
Deny from all
AuthType Basic
AuthName "AUTHENTICATE"
AuthUserFile /etc/apache2/passwd/.htpasswd
Require valid-user
Allow from example.org 192.168
Satisfy Any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment