Forum Discussion

smiley_dba_1116's avatar
smiley_dba_1116
Icon for Nimbostratus rankNimbostratus
Nov 08, 2012

HTTP header and Changing URI

 

 

when HTTP_REQUEST {

 

if {([HTTP::host] contains "app.abc.com" ) and ([HTTP::uri] equals "/test:/")} {

 

pool Robs_Temp

 

} else {

 

pool robprod_pool

 

}

 

}

 

 

My question is this, with /test, there is a colon and a changing value and /, such as

 

test:app/

 

test:db/

 

test:movie'

 

 

Is there a way in the iRule that we can say test:*

 

 

RGW