Forum Discussion
Parsing request using iRules : trying to find the equivalent of scriptname
Hi,
Thanks. I've looked through quite a few examples... I can see the HTTP::path one and thought that might be ideal, but using the example :
http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black
HTTP:path would return /art/gallery.cgi/mammals most likely...
I need it to only go up to the file name... i.e. /art/gallery.cgi
The url above is really just an example by the way, but my urls are similar in that there can be a forward slash after the filename before the question mark query string comes into play.
And from there the value would get injected into the HTTP:header which I know what to do from there...
I guess I could some string manipulation, but it would be nice to avoid that if possible.
Thanks,
Toni
Recent Discussions
Related Content
* 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