Mayank_Shukla
Mar 10, 2015Altostratus
Please help in creating a content switching irule
Below is the requirement:- If url https://xyz.abc.com contains below switches ; it should point to pool1:-
/providerportal1/* - proxy to pool1 /Resources/* - proxy to pool1 /provider_get/* - proxy to pool1 /exadmin/* - proxy to pool1
else if url contains below switch;it should point to pool2
/portal/* - proxy to pool2
example :
1.https://xyz.abc.com/Resources/ >>>pool1 2.https://xyz.abc.com/exadmin/ >>>pool1 3.https://xyz.abc.com/portal/ >>>pool2