Skip to content

Instantly share code, notes, and snippets.

@nissuk
Created June 29, 2011 08:39
Show Gist options
  • Save nissuk/1053457 to your computer and use it in GitHub Desktop.
Save nissuk/1053457 to your computer and use it in GitHub Desktop.
Apache: localhost内ではBASIC認証制限をかけない(.htaccess)
Order Deny,Allow
Satisfy Any
# localhost
Allow from localhost
# other
AuthUserFile /path/to/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment