Forum Discussion
Brantly_Perry_1
Nimbostratus
Nov 12, 2008Need HTTP Redirect assistance
Hey everyone. Need assistance figuring out the best way to accomplish a redirect.
http://host.com/uri
needs to redirect to
http://host.com/member?cid=uri ...
Brantly_Perry_1
Nimbostratus
Nov 13, 2008Thanks a lot for your input, Aaron. The only thing is that the "/bp" can be anything. Whatever that
value is, I need to rewrite it in the uri.
"/bp" { HTTP::uri "/member?cid=[HTTP::uri]" }
With "/toolsjournals" I need any uri that starts with this, to rewrite the uri as is.
My thinking was that if I didn't do this, then the condition above would catch it, and the uri
would rewrite like this. "/member?cid=tooljournals"
"/tooljournals" { HTTP::path "/tooljournals" }
This make more sense?
starts_with "/tooljournals" { HTTP::uri "[HTTP::uri]" }
Thanks so much!
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
