Forum Discussion
M0_185239
Nimbostratus
Mar 03, 2016irule to redirect url
at the moment we have this irule
elseif { ([string tolower [HTTP::uri]] starts_with "/test") } {
HTTP::redirect "http://m.domain.com[HTTP::uri]"
So what it does is this:
if a user goes here...
raduioncu_16351
Nimbostratus
Mar 03, 2016At first glance this should redirect correctly! [HTTP::uri] contains both [HTTP::path] and [HTTP::query] (the latter one which you seem to be missing in the redirect example). What is before the "elseif" and does the mobile server issue any redirects of it's own? Test with 'curl -IvkL '.
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
