Thanks Bradey and Marcel for your advice - nevertheless is was
difficult to get it work.

For the records:

1. For some reason some browsers (yes, IE is among them) cache the
favicon even when all temp Internet files are deleted and the browser
is restarted. I couldn't believe it, but when accessing a site from a
different PC, the browser behaved as expected.

Of course that makes it much more difficult, because you can never be
quite sure that what you see is "reality".

2. Specifying
href="/wiki/foo.ico"
as my favicon were "wiki" is defined in the apache config as the
underlaying dir doesn't work for me. It works for any other file,
including the logo, so the general mechanism is fine but it just won't
work with my favcion.

3. What worked was:
href="http://aplteam.com/aplwiki/aplwiki.ico";
I don't understand this, but it works...
Yes, aplwiki.ico IS situated in apaches htdocs directory.

Kai



On Wed, Mar 11, 2009 at 8:06 PM, Bradey Honsinger <brad...@gmail.com> wrote:
> On Wed, Mar 11, 2009 at 11:03 AM, Bradey Honsinger <brad...@gmail.com> wrote:
>> On Wed, Mar 11, 2009 at 9:56 AM, k...@aplteam.com <k...@aplteam.com> wrote:
>>> 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.
>
> FWIW, the same basic info is in HelpMiscellaneous:
>
> http://moinmo.in/HelpMiscellaneous#Adding_a_favicon_to_your_wiki_setup
>
>  - 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