lighttpd config and rewriting/disabling attempts to access favicon.ico

Posted by Kyle on Server Fault See other posts from Server Fault or by Kyle
Published on 2009-10-21T10:48:56Z Indexed on 2010/03/22 23:01 UTC
Read the original article Hit count: 308

I've got lighttpd and apache working together on an app I'm building. lighty is serving out static content. However, each time a static asset is requested, I see a not found: favicon.ico message in the logs. I have added the following url rewrite:

url.rewrite-once = (
    "^/favicon.ico$" => "/assets/images/favicon.png"
)

But to no avail; still getting the message. Any ideas?

© Server Fault or respective owner

Related posts about lighttpd

Related posts about url-rewriting