Forum Discussion
Lance_Simon_557
May 29, 2007Historic F5 Account
Joe,
I appreciate you reply.
How would I combine two rules? I've got this one, that states which pool to go to if coming from the public side:
when HTTP_REQUEST {
if { [matchclass [IP::remote_addr] equals $::group_public_websites] } {
pool pool_public_websites
} else {
HTTP::redirect "http://www.abc.com/temp/outage.jsp/"
}
}
And yours:
when HTTP_REQUEST {
if { [HTTP::host] eq "123.abc.com" } {
HTTP::header replace "Host" 123ext.abc.com"
}
}
I'd like to know how you'd go about saying IF the request is coming from the public side AND if the host is 123.abc.com, go to this pool, else here...
Thanks again.