Forum Discussion
Need to change response uri in payload from http to https
We have a sharepoint server sending HTTPS request to F5 VIP, then from F5 to backend real server communication is changed to HTTP on port 50000. The problem is, the backend server sends a response with http uri within the payload back to the sharepoint server. I need to be able to change that response uri from http to https
- crodriguezRet. Employee
Is it a specific response URI that you want to change from HTTP to HTTPS, or do you want to change all content references to HTTP resources to HTTPS? Depending on your answer there are lots of alternatives. One might be to add an HSTS header to the client-side response, forcing the client's browser to then internally "redirect" HTTP requests for particular domains to HTTPS.
- Jeff_Wise
Nimbostratus
Want to hind from client any reference to http. The server responds with just one uri so any uri coming from server in payload with http needs to be changed to https before sending to client
- Jeff_Wise
Nimbostratus
Prior to implementing F5, the SharePoint server connected to backend server using http and the backend server would send url within payload back to sharepoint server, the url is http. Now with Client connecting to F5 via https, then F5 connecting to backend on http port 50000. The backend server sends message back to F5-Sharepoint with url using http. I need to catch that response and change the url in payload from http to https
not the first time this is asked, have a look at:
https://devcentral.f5.com/questions/uri-and-host-replace
https://devcentral.f5.com/questions/irule-to-modify-the-uri-without-a-client-redirect
https://devcentral.f5.com/questions/replace-http-to-https-problems
https://devcentral.f5.com/questions/rewrite-http-to-https-and-replace-external-internal-hostname
https://devcentral.f5.com/questions/change-http-links-to-https-except-a-certain-url
https://devcentral.f5.com/questions/irule-to-replace-http-content
in the end the best would be for sharepoint to not offer such URI and so do look into that also.
Recent Discussions
Related Content
* 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