Forum Discussion

Alex_Suslik_102's avatar
Alex_Suslik_102
Icon for Nimbostratus rankNimbostratus
Apr 24, 2006

migrate from 4.X to 9.X iRules

Anybody can refer me to a document (if exists) what is best way to migrate iRules from 4.5 to 9.X? Are there any recommendations?

 

 

Here is example of one of the rules:

 

 

if (http_header("SSLClientCipher") matches_regex "bits=128" or "bits=256") {

 

if (exists http_header("SSLClientCertStatus")) {

 

if (http_header("SSLClientCertStatus") contains "OK") {

 

use pool eids.mymerchantoffice.com

 

}

 

else {

 

redirect to "https://%h/main/MyPortfolio/Eids.aspx?certinstalled=6"

 

}

 

}

 

else {

 

redirect to "https://%h/main/MyPortfolio/Eids.aspx?certinstalled=3"

 

}

 

}

 

else {

 

use pool client_info

 

}

 

 

No RepliesBe the first to reply