1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Password Protect with .htaccess

Discussion in 'Troubleshooting and Problems' started by kuyenmotdivad, Nov 23, 2011.

  1. kuyenmotdivad

    kuyenmotdivad Active Member


    If I protect my admin.php using the .htaccess method, anyone know why I'm getting a 500 - Internal Server Error?

    I'm using this in my .htaccess.

    <Files admin.php>
    AuthName "Protected Area!"
    AuthType Basic
    Require valid-user
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. kuyenmotdivad

    kuyenmotdivad Active Member

    oh I see what I did wrong I had my old userfile there and forgot to upload it, thanks

Share This Page