Forum Discussion
jj_43958
Mar 15, 2019Nimbostratus
SharePoint 2013 functions breaks after Big IP upgraded to version 14.2
We have a SharePoint 2013 On-premise custom application, which lost some functionality after our recent Big-Ip upgrade to version 14.2. The landing page with a few webparts (including a Calendar webp...
jj_43958
Mar 18, 2019Nimbostratus
We resolved the issue with a different iRule and disabling compression. The IRule:
when HTTP_REQUEST {
Save the requested host value
set host [string tolower [HTTP::host]]
If the HTTP host header is blank, use the VS IP address
If the VS IP is not routable for clients, hard code a routable IP
to replace [IP::local_addr]
if {$host eq ""}{set host [IP::local_addr]}
Disable the stream filter by default
STREAM::disable
} when HTTP_RESPONSE {
Check if response type is text and host isn't null
if {[HTTP::header value Content-Type] contains "text" and $host ne ""}{
Replace http://$host with https://$host
STREAM::expression "@http://$host@https://$host@"
Enable the stream filter for this response only
STREAM::enable
}
Rewrite the Location header in redirects to https://
if { [HTTP::is_redirect] && [string tolower [HTTP::header Location]] starts_with "http://$host"} {
HTTP::header replace Location [string map -nocase "http://$host https://$host" [HTTP::header Location]]
}
}
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