Forum Discussion
nkroon1
Apr 22, 2020Cirrus
iRule Help - if specific URL, redirect, else display a maintenance page
Hello! I currently have a working maintenance page, however the customer wants it if you go to a specific URL, you get redirected, else you get the page. Currently, I have been doing redirects fo...
- Apr 23, 2020
when HTTP_REQUEST { switch -glob -- [string tolower [HTTP::host][HTTP::uri]] { "*example.com*" { HTTP::redirect https://example.new.com[HTTP::uri] } default { HTTP::respond 200 content [ifile get "page.html"] } } }
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