Forum Discussion
Chris_Wentland
Nimbostratus
Apr 07, 2017HTTP Rewrite of APM Webtop via iRule not functioning
I am working on a project to re-write an APM webtop with dynamic data, and have encountered an issue with capturing an XML file that is part of the webtop using an iRule. I have the exact same rule w...
Chris_Wentland
Nimbostratus
Apr 07, 2017I also added a the condition below... This should only set that variable if it does not exist already. This did get overwritten by the resource_info_v2.xml request. But I was able to change my path to /vdesk/resource_list.xml, and the log messages are below... I still never get an HTTP response, but I receive the data somehow.
if { not[info exists resource_list_capture] } {
set resource_list_capture 0
if {$debug} { log local0. "Setting resource_list_capture variable to $resource_list_capture" }
} else {
if {$debug} { log local0. "Resource_list_capture variable already set to $resource_list_capture" }
}
Rule /Common/variable_test.rule : Setting resource_list_capture variable to 0
Rule /Common/variable_test.rule : HTTP Resquest for: /vdesk/resource_list.xml
Rule /Common/variable_test.rule : resource_list.xml request Identified
Rule /Common/variable_test.rule : Flag to capture resource_list.xml is set: 1
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