Skip to main content

Password protected directory issue

Comments

5 comments

  • 24x7server
    Now when I try to go to the firectory URL, it says ( page not found ).

    Please execute the below command on the server and replicate the blank page scenario and check what error is logged on the server. That will be helpful to troubleshoot and advise properly.. # tail -f /usr/local/apache/logs/error_logs
    0
  • Jcats
    Try adding this to the end: ErrorDocument 403 default
    So it will look like: AuthType Basic AuthName "Blablabla" AuthUserFile "/home/direcotrry/.htpasswds/public_html/wp-admin/passwd" require valid-user ErrorDocument 403 default
    0
  • darroosh
    Please execute the below command on the server and replicate the blank page scenario and check what error is logged on the server. That will be helpful to troubleshoot and advise properly.. # tail -f /usr/local/apache/logs/error_logs

    I don't have access to server to execute command
    Try adding this to the end: ErrorDocument 403 default
    So it will look like: AuthType Basic AuthName "Blablabla" AuthUserFile "/home/direcotrry/.htpasswds/public_html/wp-admin/passwd" require valid-user ErrorDocument 403 default

    I have added it, But still same result, no change at all.
    0
  • Infopro
    Have you tried simply removing the password protection from this specific directory and then re-add it? What is the directory you're attempting to protect? It is in the public_html directory, correct?
    0
  • 24x7server
    I don't have access to server to execute command

    I think you should contact your server provider or the person who has the server access to troubleshoot it..
    0

Please sign in to leave a comment.