Forum Discussion
dp_119903
Jul 31, 2015Cirrostratus
irule apology page logo/image not working
I have deployed apololgy pages a bunch of times and never had any issues, but I'm running into one now.
The issue is simple, the image isn't displaying, and I can't figure out why. I have a *.htm ...
Kevin_Stewart
Jul 31, 2015Employee
The first thing I'd do is log the traffic and see if the logic is correct:
if { [HTTP::header referer] eq "" } {
log local0. "uri = [HTTP::uri]"
switch [HTTP::uri] {
"/apology.jpg" {
log local0. "apology"
HTTP::respond 200 content [ifile get "apology.jpg"]
}
default {
log local0. "default"
HTTP::respond 200 content [ifile get "access_denied.htm"]
}
}
}
If you see "uri = /apology.jpg" and then "apology" in the LTM log, then you know the iRule logic is good and there's something else going on.
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