Forum Discussion
murphs76_64953
Nimbostratus
Apr 28, 2014Mobile redirect iRule :uri "/groupon" to m.site.com/19550
Hello Network Engineers asked to be overnight developers :),
I am asked to write a redirect iRule.
Here is what I came up with -->
when HTTP_REQUEST {
if { [string tolower [HTTP::u...
nitass_89166
Noctilucent
Apr 28, 2014i think it would be simpler to use data group for matching and redirection.
e.g.
Single I-rule with 1000+ URI Redirect
https://devcentral.f5.com/questions/single-i-rule-with-1000-uri-redirect
murphs76_64953
Nimbostratus
Apr 28, 2014Thanks for the comment nitass. That is a great article. I don't think it will work in this situation.
That article replaces one uri with another. The requirement is to redirect to a different site bases upon the uri and rewrite the url and uri. original site is "site.com" the new site is "m.site.com". I should have made that clear in the original post.
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