JRahm
Oct 22, 2007Admin
Replacing rule login in a Profile
I am trying to eliminate an iRule for a particular applciation as most of the logic has been replaced in the application. The only piece remaining is replacing the host header with the X-Forwarded-For header:
if { [HTTP::header exists "X-Forwarded-Host"] } {
HTTP::header replace "Host" [HTTP::header "X-Forwarded-Host"]
}
Can this be done in the http or httpclass profile? Any suggestions would be appreciated. I'll post back if I find it first.