OPTIONALLY, This web application can be used over SSL using a reverse proxy in Internet Information Server:
In that case, It is assumed that you have your own domain name (e.g. myserver.com) and a valid SSL certificate for this domain (e.g. US$10/year) and have already set up this certificate in IIS.
In your internet router, you only need to forward port 443 to the server with IIS on it.
(port 80 and 52199 would not need to be forwarded anymore)
So that
https://myserver.com works ok and shows the 'padlock' in the browser.
To set up a reverse proxy :
First, you need to install these Microsoft applications:
- application request routing 3.0
- IIS URL rewrite module 2
- web farm framework
- external cache version 1 for IIS 7
Some links on how to do this :
http://www.microsoft.com/en-us/download/details.aspx?id=40813http://blogs.technet.com/b/erezs_iis_blog/archive/2013/11/27/installing-arr-manually-without-webpi.aspxhttp://www.iis.net/downloads/microsoft/application-request-routinghttp://www.iis.net/downloads/microsoft/url-rewriteBEFORE, web config looked something like :
<add key="mcwsserver" value="
http://myserver.com:52199/" />
<add key="mcwsimgserver" value="
http://myserver.com:52199/" />
NOW, it is changed to :
<add key="mcwsserver" value="
https://myserver.com/jriverapi/" />
<add key="mcwsimgserver" value="
https://myserver.com/jriverapi/" />
In IIS, you can now set up a reverse proxy by creating a directory :
c:\inetpub\wwwroot\jriverapi
In this directory, create a web.config file that looks something like :
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:52199/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Note that 'localhost' assumes that you have media center running on the same pc as IIS and this media center instance is not a client of another media center instance running on another pc.
Otherwise, this has to be adjusted.
p.s. for Streaming audio to work, on IOS, I had to disable the disk cache :
Go To IIS manager :
-Select Server \ Application Request Routing cache
-Select Server Proxy Settings (on the right)
-Uncheck 'Enable Disk cache'
-Select Apply