View Single Post
Old 24th July 2008, 19:46
hairydog2 hairydog2 is offline
Senior Member
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
Exclamation over quota .htpasswd problem

I tried to add a new user to an access-restricted directory today.

I hadn't noticed that this account had gone over quota.

Adding the user failed with an error message that didn't explain what the problem was, but that's not a big deal.

What was more of a problem was that it replaced the .htpasswd file with one of 0 bytes, immediately locking all the current users out.

It would be good to have some checking built in to stop this happening!
Reply With Quote
Sponsored Links