Forum Discussion
sanjai_126162
Nimbostratus
Aug 22, 2016irule to strip the uri after apm completion it has to include the lengthy uri
iRule that will capture the HTTP URI if it is larger than 1098 bytes, then strip the HTTP URI from the HTTP request that is sent to the APM. Once the Access Policy evaluation is completed and the BI...
Stanislas_Piro2
Cumulonimbus
Dec 12, 2016Hi,
I have the same issue for one customer.
I wrote this irule and it seems to work as expected:
when HTTP_REQUEST {
if {[HTTP::cookie exists "MRHSession"] && [string length [HTTP::uri]] >=1024} {
set uri [HTTP::uri]
HTTP::uri "/fakeuri/"
}
}
when HTTP_REQUEST_RELEASE {
if {[info exists uri]} {HTTP::uri $uri; unset uri}
}
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