Forum Discussion
Spence_Faschin1
Nimbostratus
Mar 15, 2005Rewrite a uri (not redirect)
I have a need to rewrite a uri, and make this look transparent to the end user. What I have come up with is this:
when HTTP_REQUEST {
set loop 0
set max [llength $::shortur...
Spence_Faschin1
Nimbostratus
Mar 22, 2005So - setting a variable before a rule matches will not cause additional overhead when processing a rule? My thought was I did not want to set a variable, unless the traffic passed my if statement - and at that point - I figured, why set a variable at all, if I can just splat it with one line. I will try the latest example once my test environment is back online and let everyone know how it goes.
Thanks again for all the pointers and help!
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