Forum Discussion

Cody_Conklin_17's avatar
Cody_Conklin_17
Icon for Nimbostratus rankNimbostratus
Aug 11, 2005

iRule variable match is case sensitive

I have an iRule that behaves normally:

 

 

if (http_uri starts_with "/authentication") {

 

use pool IIS_Pool_80

 

}

 

else if (http_uri starts_with "/certapp") {

 

use pool IIS_Pool_80

 

}

 

else if (http_uri starts_with "/lms") {

 

use pool IIS_Pool_80

 

}

 

else {

 

use pool beta.xyz.com

 

}

 

 

 

Unfortunately, it does not work if a user accidentally goes to the URI "/Authentication". How do a make the variable match be case insensitive? Regardless of whether a user types "/Authentication" or "/authentication", it should direct to IIS_Pool_80.

14 Replies