Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The problem is that when I go to site collection usage summary page under a site collection no statistical images are displayed and only in https. http works fine and let me explain why.

External users hit the proxy switching the protocol to https in turn causing a failure for many features because SharePoint return some JavaScript URLS in http. So in AAM I configured SharePoint to us HTTPS as follows:

http://example.com:81
Default
http://example.com:81

http://example.com
Internet
https://www.example.com

https://www.example.com
Internet
https://www.example.com

http://www.example.com
Internet
https://www.example.com

In addition, I added a host header in IIS 6. The result is as expected minus the only problem with Reserved.ReportViewerWebControl.axd on the site usage page is not displaying the images (data is fine). After inspecting the broken image it is requesting http and not https. No error is displayed.

Has anybody experienced this problem or have a suggestion to fix this report service?

MOSS 2007, Windows Server 2003, IIS 6

share|improve this question
add comment

3 Answers 3

When SharePoint gets the request you need to make sure that the request it thinks it is getting is the actual URL it is publishing. So for example if your proxy server is accepting the request as https://foobar.com/ then it will need to send that same URL to SharePoint . This is the only way that AAM will know how to serve back the correct URL as SharePoint sends back the same URL that was requested as long as that URL is configured in AAM.

share|improve this answer
add comment

Are you hard-coding the URLs in the page? A trick often used is to drop the protocol from image URL. <img src="//host/image/path/img.png">

Found here in the Workaround for Web Developers section.

For example, if you have an image on www.fabrikam.com/account.htm that is addressable using either http:// or https://, you must use instead of .

share|improve this answer
    
I failed to point out that this is a problem with existing SharePoint technology. SharePoint dynamically creates the links on page load, so no I am not hard coding the URLs. FYI ~\whatever.jpg works too. –  nathan_m Jun 11 '09 at 17:41
add comment

You may need to change your "Alternate access links" internal link to "Internal" and the external link to "default". Or some combination thereof.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.