Forum Discussion
Jnon
Nimbostratus
Dec 06, 2017Manipulating uri string and host
I have the following iRule, I could use a little assistance with:
when HTTP_REQUEST {
set var1 [getfield [HTTP::uri] "/" 2 ]
set var2 [getfield [HTTP::uri] "/" 3 ]
HTTP::host "$var2....
Jnon
Nimbostratus
Dec 06, 2017I realized in my actual rule, I had a space between $var1$var2 which as causing the problem, I took the space out and wrote it like I had it in question above, and it worked fine.
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