[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] .htaccess and .htpasswd in users folder



Please help ASAP,

What I have now:
I am trying to have each user in my user folder have their own username and password so they can login to their private area on the server. My problem is I have everything setup with .htaccess and .htpasswd (what looks to be proper) but is not working correctly. I have all my file data below.

What the problem is:
Problem is that a user is prompted a username and password when they enter a users folder which is correct. However, if a user then changes the url to a different users folder they are granted access automatically to another users folder.

Please help I have a client waiting for an answer and I am out of answers.


- htpasswd  -
path = /home/sites/www.domain.com/

mrxxx:1.7eydgMBT5e.
mryyyrd:160d3.23GETug



-.htaccess -
path = /home/sites/www.domain.com/users/mrxxx

#Access file
order allow,deny
allow from all
require valid-user mrxxx
Authname DirectoryName
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site10/.htpasswd

-.htaccess -
path = /home/sites/www.domain.com/users/mryyy

#Access file
order allow,deny
allow from all
require valid-user mryyy
Authname DirectoryName
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site10/.htpasswd


Thank you for any help.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.