Files to copy local on Confluence server
The following files need to be copied to the Confluence server and cannot be installed through the Confluence web interface. These include icon files used by browsers, and some supporting Javascript and CSS files.
Icon files
Confluence keeps its browser icons in several places. There's a favicon.ico file that lives in the Confluence server's document root. There is also a copy of favicon.ico and a favicon.png file that live in the images/icons directory underneath Confluence's document root. The two files in the images/icons directory are referenced by the default HTML headers of Confluence pages. The file in Confluence's document root may need to be there in case Confluence is installed such that Confluence's document root == Web server document root. Speaking of which, there is also the web server's document root, which may also need a copy of favicon.ico if it is different than the Confluence server's document root. I think...
Locations on logios.mit.edu
logios.mit.edu is the current Knowledge Base production server. It also answers to (and prefers) the alias kb.mit.edu. Here are the key locations on logios.mit.edu:
- Web server's document root: /home/hermes/www/
- Confluence's document root: /home/hermes/confluence/confluence/
- Confluence's icon directory: /home/hermes/confluence/confluence/images/icons/
Files and their locations
Copy these files to the web server's document root:
- favicon.ico - Windows ICO icon file used by older browsers for the location bar icon
- favicon.png - PNG icon file used by newer browsers for the location bar icon
- apple-touch-icon.png - Icon used by Apple's iPhone and iPod Touch as a launcher icon_
Copy these files to Confluence's document root:
- browser_detect.js - Browser detection Javascript used by popup macros
- popup.js - Popup macro Javascript
- popup.css - Popup macro CSS
Since Confluence expects the icon files in its own directories as well, you can either make additional copies in Confluence's document root and icon directory, or create symbolic links to the master files. The second option allows you to only have to update files in one place, and is the one shown here:
- cd /home/hermes/confluence/confluence/ (or whatever the Confluence document root is)
- mv favicon.ico favicon.ico.bkp
- ln -s /home/hermes/www/favicon.ico favicon.ico (assumes web document root is /home/hermes/www/)
- cd images/icons
- mv favicon.ico favicon.ico.bkp
- mv favicon.png favicon.png.bkp
- ln -s /home/hermes/www/favicon.ico favicon.ico
- ln -s /home/hermes/www/favicon.png favicon.png