On Wed, Mar 11, 2009 at 9:56 AM, k...@aplteam.com <k...@aplteam.com> wrote:
> I've just converted from a single wiki to a wiki farm.
>
> Almost everything works fine but the FavIcon: It's grabbed from the
> shared htdocs directory, meaning that all my wikis share the same
> FavIcon.
>
> Is there a way to make every wiki using it's own FavIcon?

Web browsers use http://<server>/favicon.ico unless instructed
otherwise, so unless your wikis use different domain names you can't
give them different favicons using Apache configuration. You can
specify the favicon inside the HTML using a <link> tag, though--I've
successfully done that on some wikis I manage. Set html_head inside
wikiconfig.py like this:

    # favicon support (for both IE and FF)
    html_head = u"""
    <!-- for IE compatibility: -->
    <link rel="shortcut icon"
        type="image/x-icon"
        href="/path/to/favicon.ico" />
    <!-- for FF, newer browsers -->
    <link rel="icon"
        type="image/jpeg"
        href="/path/to/favicon.png" />
    """

Firefox and IE use slightly different tags, and FF can use a PNG while
IE needs a .ico file.

  - Bradey

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to