[mythtv] Mythweb - why fully qualified URLs?

David Rees drees76 at gmail.com
Sat Jun 19 02:13:50 UTC 2010


On Fri, Jun 18, 2010 at 6:54 PM, Manuel McLure <manuel at mclure.org> wrote:
> In looking at the code for MythWeb, I find that a lot of work is done
> to generate fully qualified URLs of the form
> "http://example.tld/mythweb/dir1/dir2/file.png" instead of using the
> simpler "dir1/dir2/file.png" relative URL and letting the browser do
> the work of completing the URL. This unfortunately causes problems if
> you want to access MythWeb through a proxy server - the virtual
> directory mapped on the proxy server has to have the exact same path
> as the one on the mythweb server, and proxying from a non-ssl server
> through an ssl server fails to work correctly.

FWIW - I hit this same problem trying to access my MythWeb instance
through a reverse proxy...  It rewrote the port numbers which weren't
the same and broke things...  Relative links should be used unless
absolutely necessary as Manuel suggests.

-Dave


More information about the mythtv-dev mailing list