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
- The_Bhattman
Nimbostratus
Did you try w/o quotes?
/CB - Brent_12837
Nimbostratus
That did not work.
Still does not accept anythign after the equal sign - Colin_Walker_12Historic F5 AccountI would try either:
when HTTP_REQUEST { switch [string tolower [HTTP::uri]] { "/keyword" { HTTP::uri "/static/Module?string\=ABC" } } }
Or:when HTTP_REQUEST { switch [string tolower [HTTP::uri]] { "/keyword" { HTTP::uri {/static/Module?string=ABC} } } }
Perhaps one of those will get you there. That's an interesting one, though. I've not heard of issues with passing an equals sign before like that.
Colin
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