Created
November 20, 2017 13:16
-
-
Save shabbirbhimani/d5bdbe2bd7317aac1ddc22edcf213dad to your computer and use it in GitHub Desktop.
Password Protect admin.php file
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
<Files admin.php> | |
AuthType Basic | |
AuthName "XenForo Admin" | |
AuthUserFile "/home/********/.htpasswds/public_html/dummy/passwd" | |
require valid-user | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment