Andrew_Wilson_2
Jan 09, 2007Nimbostratus
Search for specifc text in URL
Firstly, I hate posting things when they should be easy to get working.. but this is doing my head in and it's so simple. All I want to do is look at the url and get the F5 to look at the string and if it contains the text lcccat=ecs then send it to a specific pool. If it doesn't match that string then do nothing.
This is what i've got. Any help would be appreciated:
when HTTP_REQUEST {
if {[HTTP::uri] contains "lcccat=ecs" } {
pool internal.google.server
}
}