Forum Discussion
Sergio_Magra
Nimbostratus
Oct 08, 2013URI based redirect
Hi all,
We need to make a redirection based on certain URI, but it does not work due to be incompleted. We made an iRule for this.
We need that if we receive the following URI:
http:...
bboyjnr_8532
Cirrus
Oct 08, 2013your rule is redirecting to the requested host/uri from the client.
try... when HTTP_REQUEST { if { [HTTP::uri] ends_with "somepage.html" }{ log local0.alert "https://[HTTP::host][HTTP::uri]” HTTP::redirect “https://[HTTP::host]/newuri.html” }
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