Forum Discussion
JoshBarrow
Cirrus
Nov 10, 2020Need help with iFile HTML usage
I have an iFile that I want to use to display a redirect maintenance page. Here is what I have so far: when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "site.domain.com"}{
switch ...
jaikumar_f5
Noctilucent
Nov 13, 2020Hi ,
As far i recollect, you cannot call multiple http respond/redirect in a single event, it will throw TCL error with Operation not supported, too many redirect/respond in same event. But.... When you use conditions like ( if/else, switch), it should work, because the condition alone gets executed thus eliminating multiple respond or redirect being invoked in same process.
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
