htaccess help!!!

Russ

Lifer
Oct 9, 1999
21,093
3
0
The authorized user list is maintained in .htpasswd, not .htaccess. (I think).

AuthUserFile /url/url/url/url/cgibin/.htpasswd
AuthGroupFile /dev/null
AuthName "Nate's hideout"
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

Note that the above .htaccess file refers to the password file.

Russ, NCNE
 

nateholtrop

Diamond Member
Jun 8, 2000
5,349
0
0
ya thats exactly how my file looks like and i dont understand why it keeps erasing all of my users.

nate
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
The only way it could erase your users is if it were somehow re-writing the .htpasswd file. Try setting the .htpasswd to read only.

Russ, NCNE
 

nateholtrop

Diamond Member
Jun 8, 2000
5,349
0
0
hehe oh my its late you can tell when i forget to take out the -c tag in the command line i was doing this

htpasswd -c .htpasswd user and it kept overwriting the file and i took out he -c and it works fine now lol thanks for your help Russ

nate