cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1352
Views
0
Helpful
2
Replies

ACE module redirect URL from HTTP to HTTPS

REUBEN CHIN
Level 1
Level 1

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.

2 Replies 2

ajay chauhan
Level 7
Level 7

https://supportforums.cisco.com/thread/2079279

Have a look on given link seems to be same issue.

Thanks

Ajay

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: