<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 22 August 2016 at 21:57, Stuart Auchterlonie <span dir="ltr"><<a href="mailto:stuarta@squashedfrog.net" target="_blank">stuarta@squashedfrog.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 04/08/16 01:45, Anthony Giggins wrote:<br>
> Having recently taken the plunge into 0.28 (it was rather painless<br>
> except for some libmyth dependancy issues during the initial upgrade)<br>
> does anyone have a working mod_proxy configuration for the new<br>
> WebFrontend (yes I know its not yet feature complete, just trying to get<br>
> ahead of the game)<br>
><br>
> typically what I do is use mod_proxy on my external webserver to proxy<br>
> and authenticate mythweb connections to the internal mythweb server, I'm<br>
> hoping on doing the same for the webfrontend but its proving overly<br>
> difficult due to the numerous endpoints and all expecting to be relative<br>
> to /<br>
><br>
> Below is what I do for mythweb<br>
><br>
> ProxyPass /mythweb <a href="http://mythtv/mythweb" rel="noreferrer" target="_blank">http://mythtv/mythweb</a><br>
> ProxyPassReverse /mythweb <a href="http://mythtv/mythweb" rel="noreferrer" target="_blank">http://mythtv/mythweb</a><br>
><br>
> which doesn't work for the WebFrontend<br>
><br>
> ProxyPass /mythwebf <a href="http://mythtv:6544" rel="noreferrer" target="_blank">http://mythtv:6544</a><br>
> ProxyPassReverse /mythwebf <a href="http://mythtv:6544" rel="noreferrer" target="_blank">http://mythtv:6544</a><br>
><br>
<br>
</span>I've explored this a bit as well, and we are lacking<br>
proper support for the connection being proxied via an<br>
external webserver.<br>
<br>
Not to mention there is a websocket port which needs<br>
to be proxied as well. That one day may be merged with<br>
the main port, but it hasn't happened yet.<br>
<br>
<br>
Regards<br>
<span class="gmail-HOEnZb"><font color="#888888">Stuart Auchterlonie<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><div>it does seem to work if you use a separate virtualhost even if you register a <a href="http://ddns.net">ddns.net</a> account</div><div><br></div><div><div><VirtualHost *:80></div><div> ServerAdmin <a href="mailto:root@blah.com">root@blah.com</a></div><div> ServerName <a href="http://hostname.ddns.net">hostname.ddns.net</a></div><div> ErrorLog logs/hostname.ddns.net-error_log</div><div> CustomLog logs/hostname.ddns.net-access_log common</div><div> ProxyPass / <a href="http://mythtv:6544/">http://mythtv:6544/</a></div><div> ProxyPassReverse / <a href="http://mythtv:6544">http://mythtv:6544</a></div><div></VirtualHost></div></div><div><br></div><div>I had some success using a ProxyHTMLURLMap but the above works perfectly</div><div><br></div><div><div>ProxyPass /mythwebf/ <a href="http://mythtv:6544/">http://mythtv:6544/</a></div><div>ProxyHTMLURLMap <a href="http://mythtv:6544/">http://mythtv:6544/</a> /mythwebf/<br></div><div><br></div><div><Location /mythwebf/></div><div> ProxyPassReverse /</div><div> ProxyHTMLEnable On</div><div> ProxyHTMLURLMap / /mythwebf/</div><div> ProxyHTMLExtended On</div><div> RequestHeader unset Accept-Encoding</div></div><div></Location><br></div><div><br></div><div>I'm sure if someone knows enough about rewrite rules this would be pretty easy to get going</div><div><br></div><div>Now if only someone would fix or rollback the change that broke HLS streaming :(</div><div><a href="http://www.gossamer-threads.com/lists/mythtv/users/600806">http://www.gossamer-threads.com/lists/mythtv/users/600806</a><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div></div></div>