Forum Discussion
Brendan_Newell_
Nimbostratus
Sep 12, 2005uri rewrite rule
If anyone can provide any assistance with the following then it would be much appreciated:
I have a customer who wants an irule to rewrite the uri so that when the user connects to the virtu...
Colin_Walker_12
Sep 19, 2005Historic F5 Account
So you're looking for something like this, I believe:
when HTTP_REQUEST {
if{([HTTP::host] equals "virtualserver") and ([HTTP::uri] contains "test")} {
HTTP::redirect "http://www.backendhost.com/sample[HTTP::uri]"
}
}
-ColinHelp 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