configuration for URL redirection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2013 09:59 AM
- Labels:
-
Application Networking

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2013 09:15 PM
Thiyagu,
I understand the following:
If a user A types in the browser: http://www.xxx.com it should be redirected to be: http://www.yyy.com, correct?
If that´s the case then it should be something like:
policy-multimatch VIP
class VIP_SERVER1
load balance vip inservice
load balance policy POLICY-SERVERXXX
class VIP_SERVER2
load balance vip inservice
load balance policy POLICY-SERVERYYY
class-map match-any VIP_SERVER1
2 match virtual-address 10.10.10.11 tcp eq www
policy-map type loadbalance http first-match POLICY-SERVERXXX
class class-default
serverfarm REDIRECT_HTTP_SERVER2
serverfarm redirect REDIRECT_HTTP_SERVER2
rserver SERVER2_REDIRECT
inservice
rserver redirect SERVER2_REDIRECT
webhost-redirection http://www.yyy.com 301
inservice
class-map match-any VIP_SERVER2
2 match virtual-address 10.10.10.12 tcp eq www
policy-map type loadbalance http first-match POLICY-SERVERYYY
class class-default
serverfarm HTTP_SERVER2
serverfarm host HTTP_SERVER2
rserver SERVER2
inservice
rserver SERVER2
ip address z.z.z.11
inservice
Try and share the configuration then we can correct it if it is required!
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 01:59 AM
Hi Jorge,
Can you help me to know add the L7 policy-map of the source URL in L4 global policy-map.
policy-multimatch VIP
class VIP_SERVER1
load balance vip inservice
load balance policy POLICY-SERVERXXX
just trying to understand the data flow for this configuration.
Regards,
Thiyagu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 03:12 AM
Hi Thiyag,
this is what you want to achieve :
from the client to the URL
http://X.com << Front end VIP
should be forwaded to
http://Y.com << backend server
As per your description it seems you want to rewrite the URL.
This was posted in one of the previous post:
You can change URL and HTTP Header using action-list. Changing URL was introduced in SW A520 :
And about action-list in general :
regards,
Ajay Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 09:00 AM
Thiyagu,
Could you explain a little bit more what you mean?
Jorge
