Web Hosting Talk







View Full Version : Password Protection Feature in Cpanel Not Working. Any ideas?


ndxb
09-15-2003, 08:32 PM
Hello,

Tried to password protect my clients directories through cpanel - pretty straightforward I thought. But after I add a user and check the lock icon to protect the directory, on the site that directory is not protected.

Also, when you look at the directories again thru cpanel, nothing seems to be protected! Can anyone advise hwo to resolve this? Any settings in WHM that have to be changed?

Thanks kindly...

MBC
09-15-2003, 09:21 PM
Is the folder locked via broswer? It does not lock the directory from within cPanel via the filemanager.

sprintserve
09-16-2003, 01:06 AM
You can still enter the directory, but when you go to that directory via the url example www.domain.com/protected/ you should be prompted for username and password.

If not, check that directory via shell and see if you see a .htaccess. (/home/username/www/protected/) and check that the passwd exist here (/home/username/.htpasswds/protected/)

ndxb
09-16-2003, 05:57 AM
Actually, I can set it up via Shell - but why isnt it working through the actual control panel? Cant do this for each client that wants passwd protection :(

sprintserve
09-16-2003, 06:01 AM
help to answer the questions I posted, and we can see where's the issue. I haven't got a problem with that feature so far. also what version of Cpanel are you using? version and build.

ndxb
09-16-2003, 06:23 AM
Hi Sprintserve. Do you have a MSN Messenger ID? Perhaps I could just chat with you briefly about it? If not, no worries, I'll get the answers to your questions now

sprintserve
09-16-2003, 06:33 AM
yes. It's all in the profile.

ndxb
09-16-2003, 06:57 AM
Hi,

This is the info:

WHM 7.4.2 cpanel 7.4.2-R158
Redhat 7.3 - WHM X2.1

In cpanel, when I check the box next to the lock icon, and click save, I get the following message:

HTTP Password Maintenance

Permissions Updated
The access permissions on /home/webdubai/public_html/Solutions have been updated .


However, when I go back to the listing of directories under the password protection section in cpanel, nothin is protected.

Could something be messed up with the permissions?

ndxb
09-16-2003, 07:01 AM
Also, this might be unrealated but when trying to FTP into clients accounts today I kept getting the error message ERROR 550 Denied when trying to upload / delete files - could this have anything to do with it?

sprintserve
09-16-2003, 07:06 AM
Originally posted by sprintserve
You can still enter the directory, but when you go to that directory via the url example www.domain.com/protected/ you should be prompted for username and password.

If not, check that directory via shell and see if you see a .htaccess. (/home/username/www/protected/) and check that the passwd exist here (/home/username/.htpasswds/protected/)

did you check this?

ndxb
09-16-2003, 07:10 AM
Originally posted by sprintserve
did you check this?

Yup, and there was no .htaccess in the relevant directory - and so no prompt for username/password

MBC
09-16-2003, 10:44 AM
Maybe a dumb question, but are you naming it (it needs to be named) from within cPanel?
"Folder requires a password to access via http://"
"Protected Resource Name:"

mooony
09-16-2003, 01:55 PM
Do you have frontpage extensions installed. If yes it won't work. You beed to do that with frontpage or else remove frontpage.

Ronald