Consume unsecured map service in secured Site/Viewer
I applied SSL to my viewer. I have services coming in over http and https. In Rest Manager, they render, but in the viewer the unsecured services are trying to be consumed over https, preventing them from loading. Any ideas why they don't come in over http? I have configured my viewer to "allow unsafe content".
0
-
In general, a browser will block all http content on a page that is served over https itself. If the services you want to use are really only available over http, you should configure a proxy page on the Mapservice Connection Settings Page. You can use the proxy script that comes with the HTML viewer (./proxy.aspx). Don't forget to allow the mapservice URL in the proxy.config file. 0 -
Thank you, I will try that. 0 -
- So I found the proxy.config file and add my map service connections following the syntax in the file.
- Then I saved the file and recycled the Essentials app pools
- Next I went into Rest Manager and edited the connection settings so it used the proxy page. I pointed to the location of the proxy.ashx file for the proxy page (this part was very unclear and the help documentation was pretty minimal).
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer