Forum Discussion
CAMES_13251
Jun 20, 2011Nimbostratus
Remove URI if it doesn't match my options?
Hi All,
I'm quite new to irules, and can't get something working that should be quite simple.
What I am trying to do is redirect the request based on a couple of key words in the U...
CAMES_13251
Jul 26, 2011Nimbostratus
Sorry to drag this old question up again, but say I wanted to preserve the URI and add it to the end of the redirection, how would I do that?
For example, I tried:
"/uri1" {
Requested URI started with /uri1
HTTP::respond 301 Location "http://www.test.com[HTTP::uri]"
It redirects fine, but doesn't re-append the URI.
Have I got the speech marks or square brackets wrong?
Thanks!
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