Forum Discussion
Chris_Olson
Nimbostratus
5 years agoURL 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
5 years agoCan 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
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