Forum Discussion
Alfred_41980
Apr 14, 2011Nimbostratus
Can GTM be configured to redirect uri?
Can GTM be configured to redirect http requests based on uri? For instance, the uri with http://www.mycompany.com/abc/1234 will be redirected to 1.1.1.2 and http://www.mycompany.com/xyz/1234 will be redirected to 2.2.2.1. If not doable then what solutions are available to solve this issue.
2 Replies
Sort By
- Hi Alfred,
when HTTP_REQUEST { if {[string tolower [HTTP::uri]] eq "/redirect_me"}{ HTTP::redirect "http://[HTTP::host]/new_uri" } }
profile httpclass uri_redirect_httpclass { defaults from httpclass pool none redirect "http://[HTTP::host]/new_uri" paths "/redirect_me" }
- Thanks Aaron. It Helped.
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