Forum Discussion
tdoc_90806
Nimbostratus
Dec 16, 2008Sharepoint 2007 Problem
Hi,
I am publishing Sharepoint using an external F5 (where SSL terminates), ISA2006, then via another internal F5, Load Balancing IIS server. I have followed the F5 deployment guide and I am ab...
hoolio
Cirrostratus
Dec 16, 2008I would expect that you can configure aliases within Sharepoint to tell the app to reference itself using the public hostname without the specific port. If that's not possible, you can use a stream profile and iRule to rewrite the references to :8081 with nothing. To use the example rule, add a blank stream profile to the VIP and create a custom HTTP profile with Response Chunking set to Rechunk.
when HTTP_REQUEST {
Disable the stream filter by default
STREAM::disable
}
when HTTP_RESPONSE {
Rewrite the response content
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Replace any http:// instance with https://, unless the original string is http://example.com
STREAM::expression "@http://example.com:8081@https://example.com@"
Enable the stream filter for this response only
STREAM::enable
}
Rewrite the response headers
if {[HTTP::is_redirect]}{
HTTP::header replace Location [string map "http://example.com:8081 https://example.com" [HTTP::header value Location]]
}
}
You can disable the rewrite redirects option on the HTTPS VIP's HTTP profile as the iRule does this. The rest of your config as you described it should be fine.
Aaron
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