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

URL Redirecting

Krishnendu AR
Level 1
Level 1

Hi Guys

Is it possible to do a URL redirect from http://a.test.com to http://test.com using ACE.

If it can be done, how is that configured?

Regards,

Krishna

1 Reply 1

Francesco Casotto
Cisco Employee
Cisco Employee

Hello Krishna,

redirection can be achieved by configuring in a rserver the command:

webhost-redirection https://test.com/%p 301

as documented here:

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/vA2_3_0/configuration/slb/guide/rsfarms.html#wp1013201

In the above command the host part of the redirection is static (fixed to "test.com") if you are you doing some kind of virtual hosting, where the same vip could get requests for different domains, like a.test1.com and b.test2.com then you should first split the traffic based on the host header so that for each domain you could then apply a different "static" redirect. See here:

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/vA2_3_0/configuration/slb/guide/classlb.html#wp1021388

Hope it helps,

Francesco

Review Cisco Networking for a $25 gift card