Forum Discussion
Michael_A__Fied
May 24, 2010Nimbostratus
Posted By Michael Yates on 05/21/2010 03:04 PM
The [HTTP::path] starts at the first "/" so you will either have to account for it in your matchclass or add to your iRule to look for it and remove it.
HTTP::uri [string map {"//" "/"} [HTTP::uri]]
Wiki Entry for [HTTP::path] - http://devcentral.f5.com/wiki/default.aspx/iRules/http__path.html Awesome, thanks, I'll test that later. Is there any major advantage to performing the string map replace on the HTTP::uri vs the HTTP:path? We use extensive URIs and probably don't need to evaluate all the params in them.