Forum Discussion
blake_traister1
Nimbostratus
Oct 03, 2005Stuck on URI parsing and redirection - HELP
What i need to do is this:
If a request comes into a VIP and it does NOT have a "?" in the URL, I need to add a "?dom=sp" at the end of the url and then pass it on. Obviously my rule is lame. All it seems to do is add dom=sp and loops it so I end up with a URL thats really long with 9 million dom=sp at the end of it.
Here is the rule:
if (http_uri contains "?") {
redirect to "http://%h/%udom=sp"
}
else {
redirect to "http://%h/%u?dom=sp"
}
1 Reply
- blake_traister1
Nimbostratus
I thought I should post what I did. Thank you to everyone who offered suggestions.
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