Forum Discussion
ChadBigIP_14663
Sep 02, 2013Nimbostratus
favicon.ico
Ever since I added in an HTTP profile my favicon.ico in Internet Explorer will not display.
It shows garbage text.
But in Firefox it shows just fine.
Any idea of what to turn on inside...
nitass
Sep 02, 2013Employee
What do I need to change in the HTTP profile so that it recognizes it as image/x-icon ?
i do not think bigip changes the content-type header value. anyway, can you try something like this?
e.g.
[root@ve11a:Active:Not All Devices Synced] config tmsh list ltm rule myrule
ltm rule myrule {
when HTTP_REQUEST {
if { [HTTP::uri] equals "/favicon.ico" } {
set favicon 1
} else {
set favicon 0
}
}
when HTTP_RESPONSE {
if { $favicon and [HTTP::status] == 200 } {
HTTP::header replace "Content-Type" "image/x-icon"
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects