Forum Discussion
Scott_83827
Apr 10, 2012Nimbostratus
Log Not Showing Modified URI
The script below works properly. If the uri contains /hh/ then changes the extention from .cfm to .aspx and sends the request to the MigrationPool pool. So if you go to http://nowhere.com/hh/test.cfm ...
Michael_Yates
Apr 11, 2012Nimbostratus
Sorry,
I forgot to show that the value of the [HTTP::uri] of the Post [HTTP::uri] modification in the iRule is still the same. The value is cached and that value is returned before and after the modification.
It is not until the second iRule that the modified value is displayed.
First iRule:
when HTTP_REQUEST {
log local0. "First iRule HTTP::uri Value: [HTTP::uri]"
HTTP::uri "/something"
log local0. "First iRule, Post HTTP::uri Modification: [HTTP::uri]"
}
Second iRule:
when HTTP_REQUEST {
log local0. "Second iRule HTTP::uri Value: [HTTP::uri]"
}
If you want to dig into it further the Priority Command is worth learning since it can help you insure that certain events are executed in a specific order, regardless of the listed iRule order in the Command Console.
Hope this helps.
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