Forum Discussion
Brent_12837
Nimbostratus
Apr 18, 2008Equal Sign on redirect
I am having a problem when I redirect to another uri with parameters, it is not taking anything after the equal sign. Here is my code:
when HTTP_REQUEST {
switch [string tolower [HTTP::uri]] {
"/keyword" {HTTP::uri "/static/Module?string=ABC" }
}
}
When this is live, it redirects but does not bring over the ABC value.
How can I get ti to take this value.
Thanks
Brent
3 Replies
Sort By
- The_Bhattman
Nimbostratus
Did you try w/o quotes? - Brent_12837
Nimbostratus
That did not work. - Colin_Walker_12Historic F5 AccountI would try either:
when HTTP_REQUEST { switch [string tolower [HTTP::uri]] { "/keyword" { HTTP::uri "/static/Module?string\=ABC" } } }
when HTTP_REQUEST { switch [string tolower [HTTP::uri]] { "/keyword" { HTTP::uri {/static/Module?string=ABC} } } }
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