Forum Discussion
sudarshan_cheru
Altostratus
Jun 06, 2016irule to use redirection to another url with login credentials generated from the header
My requirement is to redirect the url to other url with copied credential part generated in the browser header too.
when user hits
https://www.abc.com/acspl/cgsContribInit?AI=9d8278d298e24f1fb9477b6...
Vijay_E
Cirrus
Jun 06, 2016Try this (untested):
when HTTP_REQUEST {
if { ([HTTP::host] eq "www.abc.com") and ([HTTP::query] starts_with "Al=") } {
HTTP::query [string map {Al= uuid=} [HTTP::query]]
HTTP::respond 301 Location "https://www.123.com/prgw/dpcs/myfriend/mlgLandingPage?[HTTP::query]"
}
}
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