spalfrey Posted November 24, 2003 Posted November 24, 2003 I've been trying to password protect one of my directories using Web Protect, but CPanel doesn't seem to accept the user names/passwords I enter. The user names I add never appear in the web protect screen, and when I go to the site and am prompted for my username and password, the system doesn't accept what I enter. Also, when I protect the directory, I can see that CPanel has added an .htaccess file to the directory. However, the AuthUserFile command in the .htaccess file points to a folder inside the root directory .htpasswds folder that doesn't appear to exist. When I use web protect, is this folder supposed to be created? I've searched the forum but can find any posts with this specific problem. Any suggestions? Steve P Quote
Lianna Posted November 24, 2003 Posted November 24, 2003 Ok, I just tested this in my account. Please tell me what doesn't match in your account: 1. Created a webprotect for folder /home/lstover/public_html/junk and gave it a name of MyJunk 2. Created a user with a password 3. In the File Manager, I navigate to folder /home/lstover/public_html/junk and see a .htaccess file was created. 4. In the File Manager, I navigate to folder /home/lstover/.htpasswds and see a folder with in it called junk, I open it and see a file called passwd What parts are you missing? Quote
spalfrey Posted November 25, 2003 Author Posted November 25, 2003 I think I did exactly as you did, Created the folder /home/mywebsite/public_html/junk Selected WebProtect in CPanel and selected and protected (checked box) /home/mywebsite/public_html/junk and gave it the name myjunk Added a user with a password Went to file manager and saw that .htaccess was created in /home/mywebsite/public_html/junk however, Went to file manager and opened the folder /home/mywebsite/.htpasswds but there was not a folder named junk inside (the only folder inside was named _private) Also, the user I added in the web protect process never appeared in the web protect dialogue box. This seems like it should be easy enough. Any ideas? Any possibility that one of the files or folders that TCH provided by default when I opened my account have been corrupted? Quote
Lianna Posted November 25, 2003 Posted November 25, 2003 Please submit a helpdesk ticket. It appears that you have the FrontPage extensions enabled and that might be messing with it. I do not have FP ext. enabled, so I can't tell for certain. Support Staff can get you straightened out though, ok? Refer them to this post and let them know to chat me (Lianna) if they need to. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.