Forum Discussion
Stephan_Manthe1
Sep 30, 2016Nimbostratus
ADAPT::enable not valid in context of HTTP_REQUEST_DATA
Hi,
I'm writing an iRule to pass HTTP POSTs selectively through an ICAP proxy.
Using the ADAPT::enable request <0|1> works fine in the context of HTTP_REQUEST as described in a couple of...
Kai_Wilke
Sep 30, 2016MVP
Hi Stephan,
Out of couriosity, did you already tried to hide the ADAPT syntax from the iRule sytax validation? It will at least allow you to save the iRule and hopefully also allow you to execute the command.
set cmd {
ADAPT::enable request <0|1>
}
eval $cmd
Note: Selectively passing the request to a VIP-targeting-VIP would be also my next choice... 😉
Cheers, Kai
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