Forum Discussion
Net_Admin_86160
Nimbostratus
Thanks Kevin , and what lies beneath - because I am blind .
this is working now
mydomain.ny1.com := /1nyb
mydomain.ny2.com := /2nyb
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::host]] equals Prod_Domains_dg] } {
if { [HTTP::uri] equals "/" } {
HTTP::redirect https://[HTTP::host][class match -value [string tolower [HTTP::host]] equals Prod_Domains_dg]
}
}
if { [class match [string tolower [HTTP::host]] equals Staging_Domains_dg] } {
if { [HTTP::uri] equals "/" } {
HTTP::redirect https://[HTTP::host][class match -value [string tolower [HTTP::host]] equals Staging_Domains_dg]
} else {
use pool stagingWEBFORMS
}
}
}
What_Lies_Bene1
Sep 10, 2013Cirrostratus
You're welcome