Forum Discussion
Chris_Olson
Nimbostratus
May 06, 2020URL irule or policy for 308 redirect
I am trying to set up a simple URL redirect rule. I have had no success with irules and partial success using a policy. The policy works well except it does not pass all parameters so some things d...
Samir
MVP
May 06, 2020Can you plz add the log inside the irule to check the URI part.
i.e
when HTTP_REQUEST {
log local0. "requested URI: [HTTP::uri]"
if { [HTTP::host] equals "hotfix.example.com" } {
HTTP::respond 308 Location https://hotfix.newdomain.com[HTTP::uri]"
}
}Thanks
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