Forum Discussion
paul_dcc
Oct 06, 2014Nimbostratus
I can't get this Irule to work
Hi Guy's,
I'm trying to get this Irule to work, but I'm having some problems;
when HTTP_REQUEST {
if { [HTTP::host] eq "dcc.dorsetforyou.com" and [HTTP::uri] ends_with "/Importer" } {
...
paul_dcc
Oct 08, 2014Nimbostratus
Code
when HTTP_REQUEST { if { [HTTP::host] eq "dcc.dorsetforyou.com" and [HTTP::uri] starts_with "/Importer" } { pool glassfish-pool } elseif { [HTTP::host] eq "dcc.dorsetforyou.com" and [HTTP::uri] starts_with "/travelclaims" } { pool glassfish-pool } else { [HTTP::host] eq "dcc.dorsetforyou.com" } { HTTP::redirect "https://dorsetforyou.com" } }
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