Forum Discussion
Michael_McCoy_6
Nimbostratus
Aug 01, 2006iRules newbie - help with Oracle E-Biz 11i midtier
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.
2 Replies
- 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 - Michael_McCoy_6
Nimbostratus
Thank you for the response, and my apologies for posting to the wrong forum.
-M
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
