Forum Discussion
Huub_Dewachter1
Nimbostratus
Feb 21, 2014REDIRECT http request depending on occurrence of string in URL and/or URI
Hello All. An urgent request came to my desk to redirect http requests depending on the occurrence of a certain string in the URL and/or URI. Still being a newbee with iRules a can't produce that "ye...
Huub_Dewachter1
Nimbostratus
Feb 24, 2014Of course. It turned out to be very, very easy, even for a newbee. It only took some time. And that's what we don't have enough of, these days ...
elseif { [HTTP::uri] contains "/pdfgen/pdfgen.aspx?ID=" } { HTTP::redirect "http://xxxxxxxxx:9099" TCP::close log local0. "uri contains /pdfgen/pdfgen.aspx?ID=" )
Best regards, Huub.
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