Providing an Icon for my Web Page


AliasMatch /favicon.ico /usr/local/apache2/icons/site.ico


Many modern browsers, such as Internet Explorer, Mozilla, and Konqueror, enable you to associate an icon with a bookmark. When you bookmark a page, the browser sends a request for a favicon.ico file to the same directory containing the bookmarked document. The favicon.ico file is an icon in the Windows icon format.

You can use the AliasMatch directive to redirect all requests for a favicon.ico to a single location containing the icon for your site, as shown in this example.




Apache(c) Phrase Book(c) Essential Code and Commands
Apache Phrasebook
ISBN: 0672328364
EAN: 2147483647
Year: 2006
Pages: 254

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net