The purpose of this document is to enable the reader to setup proxy forwarding in apache from port 80 (standard http) to the designated port of the Serviio Media Browser.
Whenever you want to give access from the Internet to any content on you LAN, you will need to setup this access on your router. Typically this is done in a section on the router called Virtual Server.
basically you need to tell the router that if it receives a request on port 80 (http), it should forward it to port 80 on your LAN apache server. For details please check the manual for your router.
To enable users to access the media browser without the need to explicitly enter the port number (23424) in the web browser, it is necessary to use a proxy. In this case the apache webserver is used for this purpose, but other solutions exists.
When a host tries to access the server, it will be intercepted by the proxy. The proxy takes the connection request. Checks who the recipient is. Rewrites the original request and forwards it to the destination server. When the answer to the request is returned from the server, the proxy again checks it, and rewrites it before sending it back to the original host.
The host never even knew it was redirected.
Below is the code for a virtual server definition that will handle the requests for the media browser.
NameVirtualHost 10.0.1.16:80 <VirtualHost 10.0.1.16:80> ServerName video.server.com ProxyPass /cds/ http://10.0.1.16:23424/cds/ ProxyPassReverse /cds/ http://10.0.1.16:23424/cds/ ProxyPass / http://10.0.1.16:23424/mediabrowser/ ProxyPassReverse / http://10.0.1.16:23424/mediabrowser/ </VirtualHost>
There are two definitions in the above code. One takes care of /cds/, which is the api used. The other is handling requests for the root (/) page. This one is actually forwarded to /mediabrowser/, so as not being forced to explicitly select the path to the mediabrowser.
you are now the happy owner of a forwarded Serviio Media Browser