Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

problem with "Password protect directories"

Discussion in 'General Discussion' started by ljwhite, Apr 24, 2006.

  1. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    166
    I use this feature(Password protect directories) in cpanel to protect my website. But whenever i visit my website, it asks me to input username/password twice even i tick "remember password". Is is right?wrong? Many thanks in advance.
     
  2. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Bangalore, India
    should only ask for it once. try removing and adding back protection.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    166
    I am sorry for that. Actully they are different questions. Let me explain more to you:
    1. Originally Posted by ljwhite
    I use this feature(Password protect directories) in cpanel to protect my website. But whenever i visit my website, it asks me to input username/password twice even i tick "remember password". Is is right?wrong? Many thanks in advance.

    I went to "Password protect directories" in cpanel and set the password to protect mydomain.com/oscommerce. It just protects mydomain.com/oscommerce not the whole website mydomain.com.

    2. Now i want to find a way to protect mydomain.com.
     
  4. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Bangalore, India
    protect the public_html folder.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    166
    Sorry, how to protect "public_html" folder. When i went to "Password protect directories" in cpanel, i can not see this foler:"public_html". The folders i see are the subfolders of "public_html".
     
  6. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Bangalore, India
    It would list folders like:

    / (Current Folder)
    _private
    _vti_bin
    _vti_cnf
    _vti_log
    _vti_pvt
    _vti_txt
    cgi-bin
    images

    Click / and protect.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    166
    Thanks for your help. I did not notice "/".
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice