Forum Discussion
JoeK_10405
Nimbostratus
Jan 16, 2009Intercept client request to fix broken app
Breakfix Needed. Client requests causes app to loop and eat all resources, and fix will take some weeks to migrate through to production. So in the meantime, I need to leverage/show off iRules in our ...
Nicolas_Menant
Employee
Jan 16, 2009
when HTTP_REQUEST {
if {[HTTP::method] equals "OPTIONS" } {
log local0. "OPTIONS method detected"
if {[HTTP::uri] equals "/storeWeb/authentication/AuthenticationServlet"} {
log local0. "uri equals /storeWeb/authentication/AuthenticationServlet!"
if {[HTTP::version] eq "1.1" } {
log local0. "intercept response !"
HTTP::respond 200
HTTP::header insert Allow: GET, HEAD, POST, TRACE, OPTIONS
}
}
}
}
I added some logging you can check into /var/log/ltm. If it works remove it since it will use more cpu with it (it's just for troubleshooting)
P.S: i couldn't test it so if you have some syntax error don't hesitate to post and i'll try to help
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