Forum Discussion
Kevin_Stewart
Jan 23, 2014Employee
Very interesting. This iRule would suggest that it's being used on multiple VIPs, because otherwise all requests on a port 80 only VIP would satisfy the "[TCP::local_port] == 80" requirement.
Just as a test, add some log statements into your HTTP-HTTPS iRule like this:
when HTTP_REQUEST {
log local0. [HTTP::host]
log local0. [getfield [HTTP::host] : 1]
log local0. [HTTP::uri]
HTTP::respond 302 Location "https://[getfield [HTTP::host] : 1][HTTP::uri]"
}