Created
November 23, 2014 14:25
-
-
Save kurudrive/ce304c3aae275a2662c7 to your computer and use it in GitHub Desktop.
WordPressの管理画面のBASIC認証
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
AuthType Basic | |
AuthUserFile /*サーバーのパス*/.htpasswd | |
AuthGroupFile /dev/null | |
AuthName "Please enter your ID and password" | |
Require valid-user | |
<FilesMatch "(admin-ajax.php)$"> | |
Satisfy Any | |
Order allow,deny | |
Allow from all | |
Deny from none | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment