Forum Discussion
haxzorian_35595
Nov 10, 2011Nimbostratus
Redirect URI issue HTTP vs HTTPS
I have two virtual servers, both pointing to the same vip. One for HTTP and one for HTTPS. I have an iRule to take the URI passed and redirect it to a given link. This iRule is on both VS, however it...
nitass
Employee
virtual www.xyz.com-vs-https {
snat automap
pool www.xyz-pool-https
destination 10.136.125.102:https
ip protocol tcp
rules {
xyz-blank2www-https
ac-redirect-host
ac-redirect-uri
akusf-rdir
webstore-disable-redirect
billpay-redirect-v2
pick-pool-member
}
persist source_addr
profiles {
http {}
serverssl { serverside }
tcp {}
www.xyz.com-clientssl { clientside }
}
}
pool www.xyz-pool-https {
min active members 1
monitor all https
members {
209.193.8.71:https { priority 2 }
209.193.8.73:https { priority 2 }
209.193.8.75:https {}
}
}
virtual www.xyz.com-vs-http {
snat automap
pool www.xyz-pool-http
destination 10.136.125.102:http
ip protocol tcp
rules {
xyz-blank2www-http
ac-redirect-uri
ac-redirect-host
akusf-rdir
acsmobile-redirect
akcom-redirect-switch
billpay-redirect
billpay-redirect-v2
sitecore-admin-pmember-select
webstore-disable-redirect
acspipe-rdir-akcom
pick-pool-member
}
persist source_addr
profiles {
tcp {}
www_http {}
}
}
pool www.xyz-pool-http {
min active members 1
monitor all http
members {
209.193.8.71:http { priority 2 }
209.193.8.73:http { priority 2 }
209.193.8.75:http {}
}
}
is there any error in /var/log/ltm when browsing http://xyz.com/uri?
have you tried curl?
e.g.
curl -I http://xyz.com/uri
Nath
Nov 10, 2016Cirrostratus
Hi Nitass,
We're stuck w/ the same issue here. We have a redirection from http -> https://abc.com:/uri/loginpage
But after we login, the https traffic became http does f5 encountered this kind of scenario before?
Thanks,
-Nat
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