Add backslash to URI

From Tech-Wiki
Revision as of 15:53, 20 May 2019 by Fabricio.Lima (Talk | contribs) (Created page with "Category:F5 Networks '''Back to iRules''' when HTTP_REQUEST { if { ([HTTP::uri] eq "/directory") and (!([HTTP::uri] ends_with "/")) } {...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to iRules

when HTTP_REQUEST {

   if { ([HTTP::uri] eq "/directory") and (!([HTTP::uri] ends_with "/"))  } {
     HTTP::uri "[HTTP::uri]/"
   }

}