Forum Discussion
neojosh30_30771
Jan 30, 2017Nimbostratus
URI redirect to append / if not present in the HTTP:URI string already
I have an an iRule which is evaluates the URI "/xyz". I want the operator to be equals not starts_with as this is starting to cause issues in which nodes or pools are used based on where the stateme...
Shaun_Simmons1
Jan 30, 2017Altostratus
Possibly the below? The idea is to take the webserver 302 away and replace it again with the same by the F5.
when HTTP_REQUEST {
set uri [HTTP::uri]
if { $uri equals "/xyz" } { set uri "/xyz"}
HTTP::uri $uri
}
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