Forum Discussion
JoeH
Jun 02, 2020Nimbostratus
iRule causing http connection resets
I have an iRule that is set up to do redirects based on host and uri. Whenever I try to access sites on the virtual server that the iRule is attached to, I immediately get a "connection reset" error ...
SriniM
May 28, 2021Nimbostratus
Below is not working. Any ideas ?
when HTTP_REQUEST {
if { [HTTP::has_responded] } { return }
switch -glob [string tolower [HTTP::host]] {
"abc,company.org" {
if { [HTTP::has_responded] } { return }
HTTP::redirect "https://abc,company.org/sites/policies"
return
}
}
}
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