Results 1 to 7 of 7

Thread: Issues with Password Protecting directories disappearing

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    2

    Default Issues with Password Protecting directories disappearing

    Hello to the forums.

    I'm trying to password protect a directory via the cPanel options. The directory is off the public_html/ but every time I protect the folder it disappears when I navigate to it - all I get is a 404 page.

    Is there any reason this might be happening? Permissions maybe?

    Any ideas greatly received!

    Best,

    Oli

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,090
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Issues with Password Protecting directories disappearing

    What do you mean off the public_html? Inside it? What are the perms on the directory?

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    2

    Default Re: Issues with Password Protecting directories disappearing

    Yes, inside public_html/www (so generally accessible from my-domain.com/...). The permissions for the folder are currently 755.

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,090
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Issues with Password Protecting directories disappearing

    Well, www is a system "shortcut" if you will, not an actual directory. It points to public_html. If you're using it in the path, remove it.

  5. #5
    Member
    Join Date
    Jan 2011
    Posts
    503
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Issues with Password Protecting directories disappearing

    Hello Oli,

    I am not sure whether you are using the correct procedure to password protect a directory. Please have a check on the below given URL for reference.

    Password Protect Directories

    If you are still facing issues we can have a look into it again.

  6. #6
    Registered User
    Join Date
    Feb 2011
    Posts
    1

    Default Re: Issues with Password Protecting directories disappearing

    Hi,

    I also get this problem: Attempt to apply a password to a directory within Cpanel, when we do the website page returns a 404 message, when we remove the password - the folders are visible again


    1. Log into cpanel
    2. Security > Password Protect Directories.
    3. Select mp3 (/home/xxxxx/public_html/mp3)
    4. Tick password protect this directory.
    5. click save
    5. create user "xxxxx_fp"
    6 create password "22ndJan2011"
    7. browse to /http://xxxxx.co.uk/mp3/ - error 404 - not found.

    8. untick the "Password protect this directory"
    9. Save
    10. browse to /http://xxxxx.co.uk/mp3/ see directory structure - obviously unprotected.

    When going to password protect the directory the File Manager pop up does not appear.

    Grateful for any advice please.

  7. #7
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Issues with Password Protecting directories disappearing

    Hello Dragpa,

    Please open up a ticket using WHM > Support Center > Contact cPanel or using the link in my signature. Please post the ticket number here after opening it.

    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Password Protecting Directories- How Secure?
    By nootkan in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 04-06-2011, 11:51 AM
  2. password protecting phpmyadmin
    By johnnywalker in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 04-15-2007, 08:56 AM
  3. Password protecting directories should error when it doesn't work.
    By spaceman in forum cPanel & WHM Discussions
    Replies: 11
    Last Post: 04-26-2005, 08:42 PM
  4. amin account directories disappearing
    By ladierainy in forum New User Questions
    Replies: 3
    Last Post: 06-15-2004, 11:49 AM
  5. Password protecting directories with MEGA users
    By Canned_Heat in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-03-2004, 10:53 AM