Forum Discussion
Tosin_Omojola
Altostratus
Aug 03, 2016How to Add a query string to a pass to a pool
Hi all,
I have this challenge and need your help urgently please.
I want to access this url: http://10.10.1.57:9001/banks and want the request arrive at the pool like this:
http://10.10.1....
Kai_Wilke
MVP
Aug 03, 2016Hi Sadorect,
you could either trigger a client side
HTTP::redirect
for the HTTP::path
"/banks" redirecting the client to the given destination site...
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] eq "/banks" } then {
HTTP::redirect "/forms/frmservlet?config=ref&serveruserparams=NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256&otherparams=P_WST_LAN_IND=1+P_BANKS_APP_URL=http://10.10.1.57:9001/banks"
}
}
... or you could transparently rewrite the
HTTP::uri
while beeing forwarded to your backend system...
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] eq "/banks" } then {
HTTP::uri "/forms/frmservlet?config=ref&serveruserparams=NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256&otherparams=P_WST_LAN_IND=1+P_BANKS_APP_URL=http://10.10.1.57:9001/banks"
}
}
Cheers, Kai
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects