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 ...
hooleylist
Apr 11, 2012Cirrostratus
As Michael and Nitass said, in pre-v11.0, many HTTP:: commands were cached in the same iRule event. To see the updated value in a single iRule you could use a later priority iRule event:
See priority wiki page for details: https://devcentral.f5.com/wiki/iRules.priority.ashx
when HTTP_REQUEST {
log local0. "Original \[HTTP::uri\] value: [HTTP::uri]"
HTTP::uri "/something"
}
when HTTP_REQUEST priority 501 {
log local0. "Updated \[HTTP::uri\] value: [HTTP::uri]"
}
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