Skip to main content

Password Protect Directories

Comments

3 comments

  • cPanelMichael
    Hello :) What's the exact message you see in the Apache error log? Are the icons stored in the same directory that's password protected? Thank you.
    0
  • BillyS
    I tried running
    tail -f /usr/local/apache/logs/error_log
    but did not see the error in the logs. However, when I look in CPanel, I do see the error as a 401.
    /administrator/templates/whatever/favicon.ico Http Code: 401 Date: Nov 12 19:18:47 Http Version: HTTP/1.1 Size in Bytes: 796 Referer: -
    The /administrator/ folder is password protected, so the icon is in a subfolder. I tried looking at live headers and noticed the favicon.ico was returning a 206 (partial). So I tried to access the icon directly by entering the full path on the browser and it rendered the icon. I don't know if this even matters at this point. Thanks for your prompt response. Bill
    0
  • Infopro
    Favicon normally goes in root of the account. /http://www.joomla.org/favicon.ico for example. There should be no reason to add one to the administrator folder, really. Check to see where your favicon actually is. When you find it, remove this one in administrator directory and see what breaks, or not.
    0

Please sign in to leave a comment.