Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    14

    Default Password Protect Directories Issue

    Hi,

    I'm trying to use the "Password Protect Directory" feature through Cpanel but am running into issues.

    We have subdirectories setup under public_html and we need to have a specific username/password to access each folder.

    For example

    /public_html/test123

    Username: testing
    Password: test123

    Other folders under public_html would have seperate usernames/passwords.

    I already created a subdirectory under public_html called test123 but when I try to access the "Password Protect Directories" feature and go to the public_html directory, I don't see any subdirectories. The only option I have is to password protect the whole public_html directory

    One thing I found was that by looking at the link

    https://$servername:2083/frontend/x/htaccess/index.html?dir=/home/$username/public_html

    is that I can add the test123 directory at the end and it lets me in

    https://$servername:2083/frontend/x/htaccess/index.html?dir=/home/$username/public_html/test123/

    Just wondering why this doesn't show up by default?

    We're running

    WHM 11.2.0 cPanel 11.8.0-C15669


    Thanks,

    KeithC

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If you created test123 under ~/public_html/ then it should show up when you click on the folder for public_html. It is abnormal that the subdirectories would not display.

Similar Threads & Tags
Similar threads

  1. Replies: 10
    Last Post: 06-24-2010, 12:12 PM
  2. How to password protect several directories
    By lucaskirsch in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-10-2008, 10:15 AM
  3. Password Protect Directories
    By Jump Network in forum Security
    Replies: 2
    Last Post: 07-07-2008, 10:09 AM
  4. Password Protect Directories
    By wwwnz in forum New User Questions
    Replies: 14
    Last Post: 07-04-2008, 09:35 AM
  5. Password protect directories
    By futuron in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-10-2005, 11:11 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube