<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 4 August 2016 at 11:29, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</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">Hoi Anthony,<br>
<div><div><br>
Thursday, August 4, 2016, 2:45:46 AM, you wrote:<br>
<br>
> Having recently taken the plunge into 0.28 (it was rather painless<br>
> except for some libmyth dependancy issues during the initial<br>
> upgrade) does anyone have a working mod_proxy configuration for the<br>
> new WebFrontend (yes I know its not yet feature complete, just trying to get ahead of the game)<br>
<br>
<br>
> typically what I do is use mod_proxy on my external webserver to<br>
> proxy and authenticate mythweb connections to the internal mythweb<br>
> server, I'm hoping on doing the same for the webfrontend but its<br>
> proving overly difficult due to the numerous endpoints and all expecting to be relative to /<br>
<br>
<br>
> Below is what I do for mythweb<br>
<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>
<br>
> which doesn't work for the WebFrontend<br>
<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>
> I can get a somewhat working config but its rather teadious finding<br>
> all the endpoints and may be easier and cleaner with Rewrite rules<br>
> and conditions but I'm not well versed in these however this might be a good learning exercise.<br>
<br>
<br>
> Cheers,<br>
<br>
<br>
> Anthony<br>
<br>
</div></div>Just a wild thought. Your talking about all wanting to work from their<br>
root, which really is a relative root. Have you tried running the<br>
relevant programs in a chrooted environment. Chrooting is a security<br>
thing, but it gives you a hard relative root.<br>
<br>
Tot mails,<br>
  Hika                            mailto:<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a><br>
<br><br></blockquote><div><br></div><div>Not really sure I have a choice in that its hardcoded into the WebFrontend as part of the backend</div><div><br></div><div>ie. you get errros like </div><div>The requested URL /misc/overview.qsp was not found on this server.<br></div><div><br></div><div><br></div><div>the endpoints if found so far include but not limited too</div><div>/misc</div><div>/images<br></div><div>/Content<br></div><div>/js<br></div><div>/css<br></div><div>/3rdParty<br></div><div>/menu.qsp<br></div><div>/tv<br></div><div>/setup<br></div><div>/video<br></div><div>/Status<br></div><div>/samples<br></div></div><br></div><div class="gmail_extra">Another option might be to instead add an apache virtualhost so that everthing for the new virtualhost is proxied at the / root level and not under a sub folder.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'm really just looking to see if someone else has already done the work here so I dont have to reinvent the wheel</div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Anthony</div></div>