Forum Discussion
stucky101_88485
Aug 30, 2012Nimbostratus
Sanity check on iRule please
Gurus
We are about to host a bunch of apps on oracle Glassfish. Thing is it GF distinguishes its apps by uri.
People want to be able to type:
store.domain.com
...
Michael_Yates
Aug 30, 2012Nimbostratus
Hi Stucky101,
You could take a shortcut and bypass the class match compare by verifying that the [HTTP::host] value is the URL that your looking for and then inject the application path into the [HTTP::uri] and then append the requested [HTTP::uri].
when HTTP_REQUEST {
if { [HTTP::host] equals "store.domain.com" } {
HTTP::uri "/myecomerceapp[HTTP::uri]"
pool myapplicationpool
}
}
Hope this helps.
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