On Mon, 2006-01-16 at 10:27 -0500, Bob Harner wrote:
> On 1/16/06, Christian Sterzl <[EMAIL PROTECTED]> wrote:
> > The message is still there, but as you said, it doesn't affect anything.
> >
> > Christian
> 
> Since the favicon.ico can be requested by any directory, you might
> want to create a simple pipeline in Lenya that matches on
> **/favicon.ico and does a "read" on your site's favicon file.  That
> should make all the error messages go away.

Lenya already has such a pipeline in sitemap.xmap:

<!-- favicon -->
<map:match pattern="favicon.ico">
  <map:read mime-type="image/x-icon"
src="lenya/resources/images/lenya.ico"/>
</map:match>

It only matches favicon.ico and not **/favicon.ico, perhaps that's the
problem?
Did you deploy Lenya in the /lenya context? In that case the problem
might be that the browser requests /favicon.ico instead
of /lenya/favicon.ico. You could try to add the icon to the root webapp,
or use some url-rewriting.

Josias


> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to