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:...
StephanManthey
Nacreous
Oct 08, 2013Using an encoded URI helps to solve the problem. Here is the PoC:
when HTTP_REQUEST {
log local0. "[URI::decode [HTTP::uri]]"
HTTP::redirect http://10.131.131.120/index.xml%23!somepage.html
}
Now the log fills up with:
Oct 8 21:49:06 bigip_a11 info tmm[8327]: Rule /Common/rule_redirect : /index.xml!somepage.html
Oct 8 21:49:06 bigip_a11 info tmm[8327]: Rule /Common/rule_redirect : /index.xml!somepage.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