Forum Discussion
vidya_126776
Nimbostratus
Mar 05, 2013issue with irule script ???
This one works fine.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/secure_one" } {
set replaceURI [string map [list /secure /wrap1] [HTTP::uri]]
HTTP::redirect ...
vidya_126776
Nimbostratus
Mar 05, 2013Hi
Thanks for the reply, just want to clarify the requirement.
when we try for any of the URL, a part of URI needs to be changed to wrap1 and rest of the URI should be same. pls note this has both URL redirection with URI parsing too.
http://www111.abc.com/secure_one/anythinghere/image.gif
http://www111.abc.com/ask_wrap/anythinghere/anythinghere/image.gif
http://www111.abc.com/seek_pond/anythinghere/anythinghere/image.gif
should redirect to
http://www245.abc.com/wrap1/rest of old uri
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