Forum Discussion
Pav_70755
Sep 20, 2011Nimbostratus
HTTP Re-Direct uri replace?
I have the following rule written
when HTTP_REQUEST {
if { [HTTP::uri] contains "?storyId=" } {
pool STAGE_directmarketing.thomsonnet.co.uk-80
...
Pav_70755
Sep 21, 2011Nimbostratus
Posted By Brian on 09/21/2011 07:02 AM
I tested this one and it works...maybe someone can come up with something better:
set wininsert [string range [HTTP::uri] 4 end]
set talkinsert [string range [HTTP::uri] 5 end]
set findinsert [string range [HTTP::uri] 5 end]
Hi Brian,
I've just tried it using this method and it works perfectly thankyou for all your help, how is this rule doing the insert then with the different numbers, it would be good to understand how the Irule works fully!
Pav
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