Web Hosting Talk







View Full Version : .ht* wierdness...


Haze
09-13-2001, 10:14 PM
I activated .ht* files on our server, and they seem to work like a charm. However, i have problems when it comes to password protection. 1. If i try to add a new user it overrights any other users in the file, which I find really odd and unhelpfull. 2. I was unable to upload files to the protected folder and any folders within. I then deleted both .htaccess & .htpasswd and still had the problem. I ended up having to delete the whole account and start again from scratch. Anyone have any ideas what may be causing any of this?

NightHawk
09-17-2001, 04:22 PM
1) if you use this command it will just add the user to the .htpasswd

htpasswd /path/to/.htpasswd username

if you use this one...it will overwrite and start a new .htpasswd
httpasswd -c /path/to/.htpasswd username

you have probably been using the second one.

2) not sure about this question...

hope I answered #1 for you......

CmptrWz
09-17-2001, 09:19 PM
The problem with the access denied stuff would be an ownership or chmod problem.