Forum Discussion
Edouard_Zorrill
Nimbostratus
Oct 28, 2016irule redirect and switch -glob: Default sentence question
Guys, I have the following:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/app1" {
pool app1_pool
}
"/app2" {
pool app2_pool
...
Vijay_E
Cirrus
Oct 28, 2016If you are looking to serve content with 404 status, you can try something like:
HTTP::respond 303 content [ifile get PAGE_404]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
