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.
- 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 } }
- Michael_McCoy_6
Nimbostratus
Thank you for the response, and my apologies for posting to the wrong forum.
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