Forum Discussion

Parveez_70209's avatar
Parveez_70209
Icon for Nimbostratus rankNimbostratus
Nov 05, 2013

Irule Suggestion

Irule Suggestion : dividing the URL based on the Country-Users and based on the official Language page:

 

  1. Currently for every country, they have a separate extension alongwith the official Language page, but seems like http://outlet.XYZ.com/SEUILibrary/controller/e/ seems to be common.

     

  2. We are having a common Virtual-server for the same in the BIGIP, lets say : 10.1.1.1 which is again mapped with a pool named as : Test-Pool having 4 active-servers where currently pages are hosted.

     

  3. Example of the URL Pages based on country : US, IE, UK , DE , FR:

     

US:

 

http://outlet.XYZ.com/SEUILibrary/controller/e/outlet_us/XYZPortal/en_US/special-offers.workflow:ShowPromo?LandingPage=/All/US/Portals/Outlet

 

IE:

 

http://outlet.XYZ.com/SEUILibrary/controller/e/outlet_ie/XYZPortal/en_IE/special-offers.workflow:ShowPromo?LandingPage=/All/EMEA/Portals/Outlet

 

UK:

 

http://outlet.XYZ.com/SEUILibrary/controller/e/outlet_gb/XYZPortal/en_GB/special-offers.workflow:ShowPromo?LandingPage=/All/EMEA/Portals/Outlet

 

DE:

 

http://outlet.XYZ.com/SEUILibrary/controller/e/outlet_de/XYZPortal/de_DE/special-offers.workflow:ShowPromo?LandingPage=/All/EMEA/Portals/Outlet

 

FR:

 

http://outlet.XYZ.com/SEUILibrary/controller/e/outlet_fr/XYZPortal/fr_FR/special-offers.workflow:ShowPromo?LandingPage=/All/EMEA/Portals/Outlet

 

Suggestion required:

 

Incase we can make some irule which will make use of Class-Maps( Data-Group) too to fulfil this, like : all these pages are behind same VIP:

 

a) If customer browse US site, it will redirect to US Page.

 

b) If customer browse UK site, it will redirect to UK Page.

 

c) If customer browse DE site, it will redirect to DE Page.

 

d) If customer browse FR site, it will redirect to FR Page.

 

e) If customer browse IE site, it will redirect to IE Page.

 

Thanks and Regards Parveez

 

13 Replies