Forum Discussion
dp_119903
Cirrostratus
Jul 31, 2015irule 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
Employee
Jul 31, 2015The 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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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