12-29-2011 03:05 PM
I've seen a lot of examples of how to do this, but either they don't make sense to me or there's something I'm missing within the understanding. Hence I'm posting my question here. (my apologies for the repitition in advance).
There is currently configuration already applied for normal load balancing of port 80. I'm simply trying to modify this to do the redirect.
This is what I've already applied:
rserver redirect www.abc.com-RD
webhost-redirection https://www.abc.com
inservice
serverfarm redirect www.abc.com:80
description www.abc.com-port80-RD-port443
rserver www.abc.com-RD
inservice
There's already a class-map created which I think I can use:
class-map match-all abc.com-CM
2 match virtual-address X.X.X.X tcp eq www
The following text is what I think might be needed... but when I've added this it doesn't do anything.
policy-map type loadblance first-match abc.com:80
class class-default
serverfarm www.abc.com:80
policy-map multi-match POLICY
class abc.com-CM
loadbalance vip inservice
loadbalance policy abc.com:80
loadbalance vip icmp-reply active
Simply put, I just want users to go from a HTTP site to a HTTPS site. There must be some kind of easy example by which to follow. Any help would be greatly appreciated.
12-30-2011 05:07 AM
https://supportforums.cisco.com/thread/2079279
Have a look on given link seems to be same issue.
Thanks
Ajay
01-01-2012 12:56 AM
In fact it's far from being simple regarding the exact behaviour you want.
Please post your whole config and tell us exactly what behavior you're expecting.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide