Skip to content

Instantly share code, notes, and snippets.

@shabbirbhimani
Created November 20, 2017 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shabbirbhimani/d5bdbe2bd7317aac1ddc22edcf213dad to your computer and use it in GitHub Desktop.
Save shabbirbhimani/d5bdbe2bd7317aac1ddc22edcf213dad to your computer and use it in GitHub Desktop.
Password Protect admin.php file
<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