Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jul 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What is wrong with my htaccess file?

    I placed this in one of my folders, and I placed the .htpasswd file where it is listed, and I get an internal server error when i try and access any file in that folder, or the folder itself:

    AuthUserFile /home/MisterB/.htpasswd
    AuthGroupFile /dev/null
    AuthName Enter Code
    AuthType Basic

    require user misterb




    What am I doing wrong?

    EDIT:

    When I switched out that htaccess file with this one below, I got a pop up box request for username/password, but I didn't give it a password!

    AuthType Basic
    AuthUserFile .htpasswd
    AuthName "Register"
    require user misterb



    I'm confused how this is supposed to work.
    Last edited by MisterB; 07-04-2003 at 11:00 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •