Forum Discussion
keith_varga_107
Jul 30, 2013Nimbostratus
correct, we do need to disable http for it to work, and it does. however, we still wanted to have the irule, and the F5 said we couldn't have the irule and http profile enabled together. We found a solution though. Simply add the HTTP::disable
directive to the irule, and now it works!
when HTTP_REQUEST {
HTTP::header insert "X_CLIENT_IP" [IP::client_addr]
HTTP::header insert "X-Forwarded-For" [IP::client_addr]
if { [string tolower [HTTP::uri]] starts_with "/ws" } {
pool EXPQA_Pool_11_12
HTTP::disable
return
} else {
pool EXPQA_Pool
return
}
}
thanks much all
-Keith