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 on Sub Domain

Discussion in 'General Discussion' started by merlwafu, Feb 11, 2010.

  1. merlwafu

    merlwafu Registered

    Joined:
    Feb 11, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi im new here.. so dont know where to post..

    Password Protection works fine if i go directly on the folder of my sub domain..

    its like this..

    I want my directory lock for only 1 user..
    when I go.. www.example.com/sub/content
    it goes fine.. I can input the user account..
    but when I change the address.. into www.sub.example.com/content
    it wont let me in.. i got a 404 error..

    I very confuse right now.. :confused: HELP!
     
  2. merlwafu

    merlwafu Registered

    Joined:
    Feb 11, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    anyone? please help..
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Which specific directory is the password protection setup on?

    Are there any scripts installed that use entries in files named ".htaccess" located within the directories involved? I would check the files named ".htaccess" to ensure they contain entries only for the password protection and not for custom scripts as that may interfere with the expected behavior.

    I would consider asking the web hosting service provider for assistance as they will be able to better diagnose the issue via direct access to the system and related configurations.
     
  4. merlwafu

    merlwafu Registered

    Joined:
    Feb 11, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    on my subdomain.. I am using a wordpress..
    I am try to contact my service provider now..

    thanks for the info btw.. :D
     
Loading...

Share This Page