Forum Discussion
slomah_85788
Nimbostratus
Jun 10, 2009Appending iRule
Hi,
I have requested to create iRule which will add appending to url, as the customer will write (http://mycompany.com ) and the application won’t work unless you write the following (http://m...
hoolio
Cirrostratus
Jun 15, 2009Hi Matt,
It would help if you created a new post for your question. You can parse the fields in the path using getfield:
[getfield "/path1/path2/path3" "/" 3] returns path2
So [getfield [HTTP::path] "/" 3] for a request to /test/USERNAME would return USERNAME.
If you create a new post, can you add a few examples of what you'd like the original and modified requests to look like?
Thanks,
Aaron
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