View Full Version : .htaccess help newbie
stiffy_1
08-02-2002, 02:41 PM
Im trying to setup pass protection on a website with .htaccess. I get the popup login/pass window but when I enter the 1 login/pass combo I have in my .htpasswd file, it acts like its an incorrect login. It just keeps prompting me for the password. Finally get an unauthorized error from server. I know I have the path to the .htpasswd set right. Could it be how the password is being encrypted?
Did you actually encrypt/hash the password?
Also note that going to your password protected URL with or without the WWW can often cause you to have to enter it twice, depending on the server configuration.
The fact that you are getting an authorization challenge at all means you are working, it is just a matter of finding out what is wrong with the user.
Also, in your htaccess, are you using require valid-user (which works for anybody in the htpasswd), or require username for individual user access only?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.