Forum Discussion
Robert_47833
Altostratus
Nov 20, 2012<HTTP_REQUEST> - Operation not supported. Multiple redirect/respond invocations not allowed (line 5) invoked from within "HTTP::respond 200
testirule :
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool xyz-pool]
}
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/testme"} {
HSL...
What_Lies_Bene1
Cirrostratus
Nov 20, 2012Please ensure you don't have any HTTP Classes assigned to the Virtual Server. If you don't, try this, which I've only tweaked slightly;
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool xyz-pool]
}
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/testme" } {
HSL::send $hsl "MyTest [IP::local_addr] [HTTP::uri]"
return
}
else {
HTTP::respond 200 content "Something" noserver Content-Type "text/html" Connection "Close"
}
}
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
