Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

ACE module redirect URL from HTTP to HTTPS

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.

Everyone's tags (2)
2 REPLIES

ACE module redirect URL from HTTP to HTTPS

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

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

Thanks

Ajay

Silver

ACE module redirect URL from HTTP to HTTPS

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.

1101
Views
0
Helpful
2
Replies
CreatePlease to create content