The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Password Protect Directories Issue

Discussion in 'General Discussion' started by keithc, Jul 27, 2007.

  1. keithc

    keithc Member

    Joined:
    Jun 5, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page