Forum Discussion
BigIP_Support_9
Nimbostratus
Feb 23, 2006Change URI without redirect
I want to change the user URI as below:
http://www.abc.com/demo -> http://www.abc.com/demo1
Here is my code: if (http_uri == "/demo") {
redirect to "http://" + http_h...
BigIP_Support_9
Nimbostratus
Feb 24, 2006The first if-clause is to capture http://www.abc.com/demo
The secondd if-clause is to capture http://www.abc.com/demo/ or http://www.abc.com/demo/xx/yy.html etc
I will get redirect one time only no matter which case it is. However we don't want that redirect because it is redirect back to bigip itself. It would be much more efficient to change the URI and forward to a pool immediately, rather than get back the redirect to client and client initiate a new request to match the last else-clause.
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
