Skip to main content

Password Protecting public_html and Magento issues

Comments

3 comments

  • Infopro
    When we password out root public_html directory and then go to our website admin panel...

    Password protecting public_html sets it for the entire domain.com
    0
  • basslion
    Ok i know this, but how does that explain why css, images and javascript are not being found when called upon?
    0
  • Jcats
    This usually happens when something is wrong with the path to your htpasswd file Can you ensure the path is correct? Also try adding this to the end of the htaccess rules: ErrorDocument 403 default Example:
    AuthType Basic AuthName "Secure Area" AuthUserFile "/home/user/.htpasswds/public_html/passwd" require valid-user ErrorDocument 403 default
    0

Please sign in to leave a comment.