Forum Discussion
John_Klemm_4418
Nimbostratus
Oct 24, 2006Https:// to Http://
The site for mydomain.com is accessible, but functionality is limited. There
are errors stemming from running HTTPS to the F5, then HTTP to the
SharePoint server. Some of the links for standard SharePoint functionality are trying to
use HTTP vice HTTPS, this is causing an error.
Is there an irule fix for this?
4 Replies
- If you are talking about embedded links in the html generated by sharepoint and sent back to the client browser (in the HTTP response), the easiest way would be to use the Stream Profile (basically a virtual server attribute that allows for fast content replacement. Just specify the search string as "http://" and target string as "https://".
This should replace all references to http:// in your response to https://.
I'd just make sure that there aren't any other references to http content that you don't want replaces (ie, links to style sheets, javascript files, etc). As long as everything points back to your sharepoint site you should be set.
-Joe - John_Klemm_4418
Nimbostratus
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
would the string look like the irule that I have already applied to the VIP? - John_Klemm_4418
Nimbostratus
joe,
In the streaming profile section would I just put http to https. Is there any other text that needs to be placed? I am new at this, shouldn't my irule fulfill this function? - Leslie_South_55
Nimbostratus
How would you handle the switch in the URI from the client when it sends "Source=https" in the path to the SP server - this is for the reporting services.
From what I can tell, when calling up a report in the browser, the link is being sent to the SP server in the URI as the source and the server does not know how to connect to itself via https - if I remove the HTTP to HTTPS rule, it works fine, but if I force HTTP to HTTPS, the SP server reports an error.
In the HTTP hearder inf you can see the request with the "Source=https" if I take the original GET and replace https to http in the Source part of the URI, it works.
-L
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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