Tyring to create a rule that will allow forms to launch on port 9000, (i.e. use pool “GLD_forms_pool” if a url starts with “/dev60cgi”). Here’s a snippet I attempted - which errored with unknown procedure.
when HTTP_REQUEST {
if {[HTTP::URI] starts_with “/dev60cgi”} {
use pool GLD_forms_pool
}
else {
use pool GLD_pool
}
}
Can someone help me? This syntax is completely new to me.
Your issue is with the HTTP::uri. Make the “uri” lowercase and you should be set.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/dev60cgi" } {
pool GLD_forms_pool
} else {
pool GLD_pool
}
}
Next time, if you could post iRules questions to the iRules forum we would apprecitate it. iControl is our remote management API.
-Joe
Thank you for the response, and my apologies for posting to the wrong forum.
-M