Forum Discussion
Krishna_251070
Nimbostratus
Oct 13, 2017iRule Question
Hi Experts,
I have an iRule that looks like this which is applied to a Virtual Server that listens on port 8080.
when HTTP_REQUEST {
HTTP::redirect http://[getfield [HTTP::host] ":" 1][HTTP::...
Kevin_Davies
Nacreous
Oct 13, 2017Logging is your friend Krishna.
when HTTP_REQUEST {
HTTP::redirect http://[getfield [HTTP::host] ":" 1][HTTP::uri]
log local0. "Redirected http://[getfield [HTTP::host] ":" 1][HTTP::uri]"
}
Then goto System -> Logs and search for "redirected" to see what the redirects actually look like. This may give you a clue as to the problem.
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