Forum Discussion
Bart_18836
Apr 28, 2014Nimbostratus
SorryPage with iFiles on 11.3 HF8
Here is my problem, I have uploaded files via "System ›› File Management : iFile List" , created references under "Local Traffic ›› iRules : iFile List" , wrote an iRule for maintenance page and ttac...
Kevin_Stewart
May 19, 2014Employee
So then just to level set, did you remove the initial if { [HTTP::uri] eq "/sp" } evaluation? What does the log statement report? Do you see the request for the /logo URI? How about some additional logging just to make sure:
when HTTP_REQUEST {
log local0. "HTTP_REQ: Requested Hostname: [HTTP::host] URI: [HTTP::uri]"
switch [HTTP::uri] {
"/sp" {
log local0. "catch /sp"
HTTP::respond 200 content [ifile get "index"] "Content-Type" "text/html"
}
"/logo" {
log local0. "catch /logo"
HTTP::respond 200 content [ifile get "logo"] "Content-Type" "image/png"
}
"/background" {
log local0. "/catch background"
HTTP::respond 200 content [ifile get "background"] "Content-Type" "image/jpeg"
}
}
}
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