Forum Discussion
Josh_Abaire
Nimbostratus
Oct 23, 2012Modify one part of URI Path
I need to change one portion of a URI path based on the value of another portion. For example:
http://www.example.com/dir1/dir2/file.ext?arg1=val1&arg2=val2&arg3
If dir2 then change...
Josh_Abaire
Nimbostratus
Oct 25, 2012Also, FYI nitass. Your solution got me where I needed, but would result in an endless 302 redirect. Since it never changes /dir2/ it will always match and attempt to redirect. You have to match both:
"dir1/dir2/" { "/dir1/ /dir5/" }
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