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 24, 2014That might just work. Going back to the original HTTP-HTTPS redirect code, when the URI looked like this:
/Location:%20https:///ibex1h.ibx?acctnum=9248789&medrec=T01275160&cibex=&pid=&ssn=Server:%20BigIPConnection:%20closeContent-Length:%200You could do something like this in your HTTPS VIP:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/Location:" } {
HTTP::uri [findstr [HTTP::uri] "///" 2]
}
}This will extract all of the URI string after the "///", but leave one "/" behind.
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
