Forum Discussion
RobS
Altostratus
Jan 22, 2014HTTP to HTTPS policy injecting "/Location: https:///" into URL and breaking application
We have an application I'm load balancing with my LTMs that I was initially told would just need basic load balancing and http to https redirection. Now I find out they are running it out of Citrix s...
Kevin_Stewart
Employee
Jan 23, 2014Very 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]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
