Created
May 12, 2013 00:30
-
-
Save hashimotor/5561922 to your computer and use it in GitHub Desktop.
ホスト制限とユーザ認証を併用する
This file contains 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
<Directory /var/www/> | |
AuthType Digest | |
AuthName <realm> | |
AuthDigestDomain <path> | |
AuthUserFile <htdigest> | |
Order deny,allow | |
Deny from all | |
Allow from <ipaddress> | |
Require valid-user | |
Require ip <ipaddress> | |
Satisfy any | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment