Forum Discussion
Joe_Pipitone
Nimbostratus
Feb 09, 2010Rewriting and passing query string only, not uri
I currently have an iRule that does a rewrite and also passes the uri.
I want to ONLY catch the query string and not the uri - for example:
http://www.oursite.org/info.aspx?id=67727 ...
hoolio
Cirrostratus
Feb 09, 2010Hi Joe,
You can retrieve the query string (uri minus the path) using HTTP::query. For your iRule, just replace [HTTP::uri] with ?[HTTP::query].
HTTP::redirect "http://info.oursite.com/default.aspx?[HTTP::query]"
Aaron
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