PDA

View Full Version : Needing help setting up .htaccess


Rockrz
08-30-2002, 05:49 AM
I guess I'm missing something in the tutorials I've been looking at on how to set-up .htaccess

Here's what I have saved within my directory I'm attempting to protect.....(saved as .htaccess)

AuthUserFile /home/atmscrip/web/associates/.htpasswd
AuthGroupFile /dev/null
AuthName associates
AuthType Basic
Require valid-user

The name of the file I'm wanting to protect is 'associates'
The little box pops up where I can enter the password and user name, but it doesn't accept the password.

Here's what I have saved within the same file as .htpasswd....

name:39RvTNLs/Eeuo, using the password generator located Here (http://www.euronet.nl/~arnow/htpasswd/) (not my real password, but just a working password so I can figure this out)

Now, I'm saving these files as plain text then using my WS_FTP program, I change the file names to .htaccess & .htpasswd, respectively.

Any idea what I'm doing wrong here?