Forum Discussion
irule or policy to match url and then update pool members port
I was also considering modifying the original irule to this, but not sure if this would work?
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/testurl/score/sap/wbse/search" { HTTP::redirect http://[HTTP::host]:34561/[HTTP::uri] }
"/testurl/score/sap/companycodes" { HTTP::redirect http://[HTTP::host]:34561/[HTTP::uri] }
"/testurl/score/timekeeper/unionmasterdata/contract*" { HTTP::redirect http://[HTTP::host]:34562/[HTTP::uri] }
"/testurl/score/timekeeper/unionmasterdata/jobcode*" { HTTP::redirect http://[HTTP::host]:34562/[HTTP::uri] }
"/testurl/score/sap/chartofaccounts/glaccount*" { HTTP::redirect http://[HTTP::host]:34562/[HTTP::uri] }
"/testurl/score/timekeeper/timecard/gettimecard*" { HTTP::redirect http://[HTTP::host]:34563/[HTTP::uri] }
"/testurl/score/timekeeper/timecard/savetimecard*" { HTTP::redirect http://[HTTP::host]:34563/[HTTP::uri] }
"/testurl/oasis/sportsdb/sportsdetails/getathletesdata" { HTTP::redirect http://[HTTP::host]:34674/[HTTP::uri] }
"/testurl/oasis/sportsdb/sportsdetails/getathletesimagesdata" { HTTP::redirect http://[HTTP::host]:34674/[HTTP::uri] }
"/testurl/oasis/sportsdb/sportsdetails/getmedalstandingsdata" { HTTP::redirect http://[HTTP::host]:34674/[HTTP::uri] }
"/testurl/oasis/sportsdb/sportsdetails/getolymedalstandingsdata" { HTTP::redirect http://[HTTP::host]:34674/[HTTP::uri] }
"/testurl/oasis/sportsdb/sportsdetails/getresultsdata" { HTTP::redirect http://[HTTP::host]:34674/[HTTP::uri] }
"/testurl/oasis/sportsdb/sportsdetails/getsportsathletesdata" { HTTP::redirect http://[HTTP::host]:34674/[HTTP::uri] }
"/v1/widget/visa" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/w2" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/personal" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/address" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/bank" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/w4" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/team" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/profile" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/inbox" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/rsess" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/sickleave" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/documents" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/dependents" { HTTP::redirect http://[HTTP::host]:34646/[HTTP::uri] }
"/v1/widget/documents" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/dependents" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/saphcm/any/sap/employee/profile" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/address" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/payslip" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/payslips" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/bankdetails" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/payslip/detailedpayslip" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/v2/employee/payslips" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/payslip/detailedpayslip" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/v2/employee/payslips" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/v1/widget/bank" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/sports/sco/obp/onboarding/events/upsert" { HTTP::redirect http://[HTTP::host]:24613/[HTTP::uri] }
"/sports/sco/obp/onboarding/positions/insert" { HTTP::redirect http://[HTTP::host]:24613/[HTTP::uri] }
"/sports/sco/obp/onboarding/positionstatus/update" { HTTP::redirect http://[HTTP::host]:24613/[HTTP::uri] }
"/sports/scocloud/obp/onboarding/events/upsert" { HTTP::redirect http://[HTTP::host]:34645/[HTTP::uri] }
"/sports/scocloud/obp/onboarding/contact/update" { HTTP::redirect http://[HTTP::host]:34645/[HTTP::uri] }
"/sports/scocloud/obp/onboarding/positionstatus/update" { HTTP::redirect http://[HTTP::host]:34645/[HTTP::uri] }
"/sports/scocloud/obp/onboarding/positions/insert" { HTTP::redirect http://[HTTP::host]:34645/[HTTP::uri] }
"/sports/scocloud/obp/onboardingoly/events/upsert" { HTTP::redirect http://[HTTP::host]:34659/[HTTP::uri] }
"/sports/scocloud/obp/onboardingoly/positions/insert" { HTTP::redirect http://[HTTP::host]:34659/[HTTP::uri] }
"/sports/scocloud/obp/onboardingoly/positionstatus/update" { HTTP::redirect http://[HTTP::host]:34659/[HTTP::uri] }
"/sports/scocloud/obp/onboardingoly/contact/update" { HTTP::redirect http://[HTTP::host]:34659/[HTTP::uri] }
"/sports/scocloud/obp/onboardingoly/echange/trigger" { HTTP::redirect http://[HTTP::host]:34659/[HTTP::uri] }
"/sports/scocloud/obp/onboardingoly/address/search" { HTTP::redirect http://[HTTP::host]:34659/[HTTP::uri] }
"/hrapps/any/sap/employee/profile" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/hrapps/any/sap/employee/address" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/hrapps/any/sap/employee/personal" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/hrapps/any/sap/employee/payslip/formlist" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/w4" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/rsess" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/sickleave" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/sports/trac/trac/techreporte/techreport/search" { HTTP::redirect http://[HTTP::host]:34644/[HTTP::uri] }
"/sports/trac/trac/techreporte/techreport/insert" { HTTP::redirect http://[HTTP::host]:34644/[HTTP::uri] }
"/sports/trac/trac/techreporte/techreport/update" { HTTP::redirect http://[HTTP::host]:34644/[HTTP::uri] }
"/sports/trac/trac/techreporte/user/search" { HTTP::redirect http://[HTTP::host]:34644/[HTTP::uri] }
"/testurl/score/tk/tpm/timecards/pull" { HTTP::redirect http://[HTTP::host]:34655/[HTTP::uri] }
"/testurl/score/tk/tpm/timecards/save" { HTTP::redirect http://[HTTP::host]:34655/[HTTP::uri] }
"/sports/sco/obp/onboarding/contact/update" { HTTP::redirect http://[HTTP::host]:24613/[HTTP::uri] }
"/v1/widget/comp" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/cost" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/military" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/personnel" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/residence" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/visa" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/w2" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/personal" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/address" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/bank" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/widget/w4" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/team" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/v1/profile" { HTTP::redirect http://[HTTP::host]:34641/[HTTP::uri] }
"/saphcm/any/sap/employee/compensation" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/defaultcostaccounting" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/dropdown" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/militaryservices" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/myteam" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/pai" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/personnelid" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/residencestatus" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/visatracking" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/w2reprint" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/w4" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/profile" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/bankdetails" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/address" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/payslip" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/payslips" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/ssoload" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/personaldata" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/communicationdata" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/alternatenames" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/additionalpersonaldata" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/additionaladministrativedata" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/socialinsurancespain" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/any/sap/employee/compensation" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/defaultcostaccounting" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/dropdown" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/militaryservices" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/myteam" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/pai" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/personnelid" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/residencestatus" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/visatracking" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/w2reprint" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/w4" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/profile" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/bankdetails" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/address" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/payslip" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/payslips" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/ssoload" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/inbox" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/personaldata" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/communicationdata" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/alternatenames" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/additionalpersonaldata" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/additionaladministrativedata" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/personal/socialinsurancespain" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/hrapps/any/sap/employee/profile" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/hrapps/any/sap/employee/address" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/hrapps/any/sap/employee/personal" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/hrapps/any/sap/employee/payslip/formlist" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/w4" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/rsess" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/sickleave" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/saphcm/any/sap/employee/voe" { HTTP::redirect http://[HTTP::host]:34647/[HTTP::uri] }
"/corpsystems/sap/any/financial/account/validation" { HTTP::redirect http://[HTTP::host]:34658/[HTTP::uri] }
"/corpsystems/sap/any/financial/accounts/validation" { HTTP::redirect http://[HTTP::host]:34658/[HTTP::uri] }
"/corpsystems/sap/any/financial/masterdata/validation" { HTTP::redirect http://[HTTP::host]:34658/[HTTP::uri] }
"/corpsystems/sap/any/financial/masterdatas/validation" { HTTP::redirect http://[HTTP::host]:34658/[HTTP::uri] }
"/corpsystems/sap/any/financial/podetails/query" { HTTP::redirect http://[HTTP::host]:34660/[HTTP::uri] }
"/promoschedule*" { HTTP::redirect http://[HTTP::host]:34653/[HTTP::uri] }
"/corpsystems/any/sap/territorycode/countrycodes/query" { HTTP::redirect http://[HTTP::host]:34665/[HTTP::uri] }
"/adsales/cdw/pam/digital/salesdata/trigger" { HTTP::redirect http://[HTTP::host]:34667/[HTTP::uri] }
"/saphcm/any/sap/employee/voe" { HTTP::redirect http://[HTTP::host]:34643/[HTTP::uri] }
"/saphcm/sap/etds/employee/usermanager/trigger" { HTTP::redirect http://[HTTP::host]:34670/[HTTP::uri] }
"/financesupplychain/aqa/sap/finance/invoice/status" { HTTP::redirect http://[HTTP::host]:34671/[HTTP::uri] }
"/srat/tibco/all/tib/ondemand/global/lookup" { HTTP::redirect http://[HTTP::host]:34580/[HTTP::uri] }
"/analyticslogs/any/adobe/userdata" { HTTP::redirect http://[HTTP::host]:34673/[HTTP::uri] }
"/analyticslogs/any/adode/jobstatus" { HTTP::redirect http://[HTTP::host]:34673/[HTTP::uri] }
"/analyticslogs/any/adobe/skyshowtime/userdata" { HTTP::redirect http://[HTTP::host]:34703/[HTTP::uri] }
"/analyticslogs/any/adobe/skyshowtime/jobstatus" { HTTP::redirect http://[HTTP::host]:34703/[HTTP::uri] }
"/engineering/ndi/github/user/report" { HTTP::redirect http://[HTTP::host]:34704/[HTTP::uri] }
"/campaign/any/adobe/userdata" { HTTP::redirect http://[HTTP::host]:34673/[HTTP::uri] }
"/mparticle/onetrust/callback" { HTTP::redirect http://[HTTP::host]:34675/[HTTP::uri] }
"/analyticslogs/any/adobe/ent/userdata" { HTTP::redirect http://[HTTP::host]:34679/[HTTP::uri] }
"/analyticslogs/any/adobe/ent/jobstatus" { HTTP::redirect http://[HTTP::host]:34679/[HTTP::uri] }
"/financesupplychain/any/dwh/orderinfo/invoice/fetch" { HTTP::redirect http://[HTTP::host]:34634/[HTTP::uri] }
"/filment/jv/uphe/mercury/trigger/in5159" { HTTP::redirect http://[HTTP::host]:34682/[HTTP::uri] }
"/filment/jv/uphe/mercury/trigger/in5021" { HTTP::redirect http://[HTTP::host]:34683/[HTTP::uri] }
"/filment/jv/uphe/mercury/trigger/in5161" { HTTP::redirect http://[HTTP::host]:34684/[HTTP::uri] }
"/filment/unify/tibco/filelookup/fetch" { HTTP::redirect http://[HTTP::host]:34687/[HTTP::uri] }
"/filment/unify/tibco/listfilenames/lookup" { HTTP::redirect http://[HTTP::host]:34687/[HTTP::uri] }
"/filment/unify/tibco/servicelookup/fetch" { HTTP::redirect http://[HTTP::host]:34687/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i6011/lookup" { HTTP::redirect http://[HTTP::host]:34688/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i6017/lookup" { HTTP::redirect http://[HTTP::host]:34688/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i6012/lookup" { HTTP::redirect http://[HTTP::host]:34688/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i6018/lookup" { HTTP::redirect http://[HTTP::host]:34688/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i6015/lookup" { HTTP::redirect http://[HTTP::host]:34688/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i6016/lookup" { HTTP::redirect http://[HTTP::host]:34688/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i2185/lookup" { HTTP::redirect http://[HTTP::host]:34689/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i2182/lookup" { HTTP::redirect http://[HTTP::host]:34689/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i2188/lookup" { HTTP::redirect http://[HTTP::host]:34689/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i2189/lookup" { HTTP::redirect http://[HTTP::host]:34689/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i2190/lookup" { HTTP::redirect http://[HTTP::host]:34689/[HTTP::uri] }
"/filment/tibco/salesforce/integration/i2191/lookup" { HTTP::redirect http://[HTTP::host]:34689/[HTTP::uri] }
"/filment/tibco/unifys3/integration/file/handler" { HTTP::redirect http://[HTTP::host]:34690 /[HTTP::uri] }
"/filment/tibco/amz/integration/reports/fetch" { HTTP::redirect http://[HTTP::host]:34691/[HTTP::uri] }
"/saphcm/any/sap/employee/getdetails" { HTTP::redirect http://[HTTP::host]:34685/[HTTP::uri] }
"/financesupplychain/cp/snap/invoicemanagement/invdetails/fetch" { HTTP::redirect http://[HTTP::host]:34612/[HTTP::uri] }
"/financesupplychain/cp/snap/invoicemanagement/invdetails/update" { HTTP::redirect http://[HTTP::host]:34612/[HTTP::uri] }
"/financesupplychain/cp/snap/invoicemanagement/invattachments/update" { HTTP::redirect http://[HTTP::host]:34612/[HTTP::uri] }
default {
HTTP::redirect http://[HTTP::host]:33333/[HTTP::uri] }
}
}
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com