F5 IRULE CROSS ORIGIN REQUEST

Currently I’m trying to deploy sharepoint 2016 on F5 ltms. It appears that the site is running on port 8037 and the vip is running on port 80. Everything works fine on an IE browser but on chrome does not work. This is because IE does not use CORS (Cross Original Resource Sharing, IE does not send this header so there’s no check made). Chrome does.

I can’t shut off this global on chrome Origin header may be turned off on the client by following the below article: https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome

How would i specify the CORS origin request to the server after it hit the f5 to point to site:8037 so sharepoint accepts it.

You should be able to add header to the server and optionally based on user agent header.

https://devcentral.f5.com/wiki/iRules.HTTP__header.ashx

If you could provide HTTP request/response component and VIP/pool info, it would help to understand the issue.