12-12-2012 05:25 AM
I'm having problems with a redirection that is involving the path, as it is the path that is changing.
As the developers are a little lazy the dont want to rewrite the the old path when moving to the new platform.
So I have to redirect http://vital/en/* to http://vital/*, so it comes to removing part of the path (/en) and keeping the rest.
Ex.
http://vital/en/system/IT redirected to http://vital/system/IT
pls do some magic
regards
hfeldinger
12-12-2012 11:31 AM
rserver redirect EnRemoval
webhost-redirection http://vital/%p
inservice
serverfarm redirect EnRemoval
rserver EnRemoval
inservice
class-map match-any Vip_80
2 match virtual-address 172.16.36.13 tcp eq www
class-map type http loadbalance match-any EnRedirectClass
2 match http url /en/.*
policy-map type loadbalance first-match Policy_80
class EnRedirectClass
serverfarm EnRemoval
class class-default
serverfarm Servers (farm to handle all the traffic once it was redirected)
policy-map multi-match Vips
class Vip_80
loadbalance vip inservice
loadbalance policy Policy_80
Regards,
Chris Higgins
12-13-2012 04:11 AM
I will try, but I cant see how it is going to make /en go away and then pass on the rest.
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide