Difference between revisions of "Add backslash to URI"
From Tech-Wiki
(Created page with "Category:F5 Networks '''Back to iRules''' when HTTP_REQUEST { if { ([HTTP::uri] eq "/directory") and (!([HTTP::uri] ends_with "/")) } {...") |
|||
Line 2: | Line 2: | ||
'''[[F5 Networks#iRules|Back to iRules]]''' | '''[[F5 Networks#iRules|Back to iRules]]''' | ||
− | when HTTP_REQUEST { | + | when HTTP_REQUEST { |
if { ([HTTP::uri] eq "/directory") and (!([HTTP::uri] ends_with "/")) } { | if { ([HTTP::uri] eq "/directory") and (!([HTTP::uri] ends_with "/")) } { | ||
HTTP::uri "[HTTP::uri]/" | HTTP::uri "[HTTP::uri]/" | ||
} | } | ||
− | } | + | } |
Latest revision as of 15:54, 20 May 2019
when HTTP_REQUEST { if { ([HTTP::uri] eq "/directory") and (!([HTTP::uri] ends_with "/")) } { HTTP::uri "[HTTP::uri]/" } }