LyonsG_85618
Mar 15, 2012Cirrostratus
Redirect IRULE
Looking for a bit of help please guys...
I am trying to write an IRULE that rewrites the host and uri but without doing a re-direct to clients browser.
when HTTP_REQUEST
if {[HTTP::host] equals "www.company.com" && [HTTP::uri] equals "/application"} {
HTTP::header replace Host "www.newcompany.com"
HTTP::uri /full/application/is/here
virtual VS_THIS_IS_WHERE_NEW_COMPANY_IS_CONFIGURED
}
}
The new virtual server where traffic is getting routed to does have client & server SSL profiles configured.
Both virtual servers (for old & new company) work fine.
I think I am missing something obvious but just can't see it.....
Thanks in advance for your help!