Forum Discussion
Parsing request using iRules : trying to find the equivalent of scriptname
Hi,
Yes I've had a good look at the HTTP::path option, but the problem is that it will take say a url of
http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black
and make it
/art/gallery.cgi/mammals
I need to extract just up to the filename... however many directories that might be... e.g. want this
/art/gallery.cgi
So in other words what makes it tricky is that we have other stuff after the filename, but before the querystring component.
But it's looking like it isn't very easy... with the apache rewrite utility, I think this was the equivalent of asking for the scriptname.
Thanks,
Toni
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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