Forum Discussion
gauthj1_343742
Nimbostratus
Oct 19, 2018partial uri replace and keep the query
Hello,
First time poster, and running into something more advanced than I am at this time.
Trying to search and finding many variables with mixed results on my output.
Currently running 11.5.4 ...
cjunior
Nacreous
Oct 19, 2018Hello, Maybe this way?
when HTTP_REQUEST {
if { [HTTP::host] eq "something.com" && [string tolower [HTTP::uri]] starts_with "/rdcadfsrnd/faces/logout?_adf" } {
HTTP::redirect "/ocsso/logout?[string range [HTTP::uri] 29 end]"
}
}
Regards.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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