Forum Discussion
fillstrsoh_2962
Nov 01, 2011Nimbostratus
Kurt,
I added a STREAM profile and modified the irule as you suggested. I also changed it so that it can handle traffic to both SharePoint sites correctly. The SharePoint sites now display and function as expected.
when HTTP_REQUEST {
if { [HTTP::host] contains "dv-strsohioportal" and [HTTP::uri] contains "inv" } {
log local0. "URI - [HTTP::uri]"
log local0. "This time pool - INV"
pool dv-strsohioportal_inv_pool
HTTP::header replace Host paris-test
HTTP::uri "http://paris-test[HTTP::uri]"
log local0. "URL - [HTTP::method] [HTTP::host][HTTP::uri]"
log local0. "Host: [HTTP::header Host]"
log local0. "Request: [HTTP::request]"
}
elseif { [HTTP::host] contains "dv-strsohioportal" and [HTTP::uri] contains "its" } {
log local0. "URI - [HTTP::uri]"
log local0. "This time pool - ITS"
pool dv-strsohioportal_its_pool
HTTP::header replace Host dublin-test1
HTTP::uri "http://dublin-test1[HTTP::uri]"
log local0. "URL - [HTTP::method] [HTTP::host][HTTP::uri]"
log local0. "Host: [HTTP::header Host]"
log local0. "Request: [HTTP::request]"
}
}
The only issue now is that the SharePoint sites are configured with links that only contain the directory path without specifying an actual page. When these links are accessed SharePoint performs a redirect which takes it away from the BigIP.
Thanks,
Mark