View Full Version : Password Protection Feature in Cpanel Not Working. Any ideas?
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...
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/)
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.
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.
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?
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?
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
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
|