Forum Discussion
Toni_Brown_2069
Nimbostratus
Jun 18, 2015Parsing request using iRules : trying to find the equivalent of scriptname
Hi,
I am trying to do a request header insert based on finding the 'scriptname' within the url, where the term scriptname is something I am familiar with from experiences with another reverse pr...
Toni_Brown_2069
Nimbostratus
Jun 19, 2015Hi Stanislas
I guess it is more that I want to get the HTTP::path up to and including the end of the filename
i.e. for http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black
I want
/art/gallery.cgi
not definitely not anything further... e.g.
/art/gallery.cgi/mammals
I also would prefer not to assume what the filename ext is for the request and let the F5 functions figure that out.
Thanks,
Toni
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects