Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...