Ingo
Aug 02, 2021Nimbostratus
HTTP:uri in HTTP_Request error (not supported)
Hello,
we are using the below simple irule since years. However, with version 14.x.x or so there started an error to show up in the LTM log - also the irule seems to it's job anyway. I found an F5 document saying HTTP::uri is not allowed within HTTP_REQUEST.
I have to admit i am not god with this stuff, could someone please help to get that into an other syntax that does not through an error.
rule (simply removes the /80 from the URI):
when HTTP_REQUEST {
HTTP::uri [string map {/80/_vti_bin/Webs.asmx /_vti_bin/Webs.asmx} [HTTP::uri]]
}
error:
TCL error: /Common/alfresco_acrobat_fix <HTTP_REQUEST> - Can't call after responding - ERR_NOT_SUPPORTED (line 1) invoked from within "HTTP::uri"
Many thanks,
Ingo