William_Rodgers
Apr 18, 2007Nimbostratus
HTTP redirect
My system is running fine in production, but I need to do some parallel "testing" with the production system. During one of my transactions, I get a redirect to my browswer that sends me to https://www.domain.com
Because of the location of my client I cannot intercept the 302 redirect, but my load balancer is between my client and my server. Problem is that I cannot do HTTPS for my testing, so when the client goes to connect to the server through the load balancer for this transaction, I need to rewrite:
https://www.domain.com to http://www.domain.com
I am using the normal http::host and redirect commands in my IRULEs to redirect from HTTP to HTTPS, but how do I check to see if the request starts with HTTPS since HTTP::Host does not contain the http:// or https:// stuff???