Forum Discussion

Dan_Whipp_25399's avatar
Dan_Whipp_25399
Icon for Nimbostratus rankNimbostratus
Jul 09, 2007

v9 to v4 conversion: partial re-encryption

Trying to determine if this v9 iRule to do a partial re-encryption of traffic based on URI can be converted to v4.

 

 

rule login-reencrypt {

 

when HTTP_REQUEST {

 

set reencrypt 1

 

if {[HTTP::uri] contains "Login.fcc"} {

 

pool https-pool

 

} else {

 

set reencrypt 0

 

pool http-pool

 

}

 

}

 

when SERVER_CONNECTED {

 

if { $reencrypt == 0 }{

 

SSL::disable

 

}

 

}

 

}

 

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    If you hadn't figured this out yet, you should be able to handle the server side SSL in the pool configuration. You could then use a rule to set the pool based on the URI.

     

     

    Aaron