cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
441
Views
0
Helpful
1
Replies

URL rewrite

srikanth KS
Level 1
Level 1

Dear All,

I have the following requirement

if a traffic comes to abc.net/xx abc.net/yy i need to redirect it to https://abcdef.net/xx and https://abcdef.net/yy

Can you please help me to get this done using URL rewrite option in ACE?

1 Reply 1

ajayku2
Cisco Employee
Cisco Employee

Hi Srikanth,

refer this discussion:

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

Look at following parts:

rserver redirect Sharepoint_HTTPS_Redirect

  webhost-redirection https://%h%p 302

  inservice

class-map match-all Sharepoint_2010_VIP_HTTP

  description Match HTTP

  2 match virtual-address 10.80.199.71 tcp eq www

policy-map type loadbalance first-match Sharepoint_HTTP

  class class-default

    serverfarm Sharepoint_HTTPS_Redirect

policy-map multi-match int815

    class Sharepoint_2010_VIP_HTTP

    loadbalance vip inservice

    loadbalance policy Sharepoint_HTTP

This is what you need to redirect any request coming to http to https as I see your requirement is just to change the URL from http to https

If you have specific requirement for specific URL then match the traffic accordingly.

Let me know if that helps.

regards,

Ajay Kumar

regards,

Ajay Kumar