[mythtv-users] Absolute links in mythweb

Ben Holt beanjammin at gmail.com
Tue Apr 4 01:04:03 UTC 2006


On 03/04/06, Michael Heironimus <mkh01 at earthlink.net> wrote:
> On Mon, Apr 03, 2006 at 04:51:25PM -0700, Ben Holt wrote:
> > Can someone suggest a relatively simple fix for this?  Any idea what
> > the rational for changing from relative to absolute links was?
>
> Use mod_proxy_html to rewrite the content as it passes through the
> proxy.
>
> Or add /mythtv as another path to the same files on the MythTV server
> and try proxying to that.

Thanks for the ideas Michael, I think at least until I give up, I'd
rather fix the absolute path problems than try to work around them.

I _thought_ I'd found an easy solution when I discovered
includes/init.php but changing line 52 to

define('root', "");

broke at least the recorded programs page and the home page link and
probably a few other things.

I'm left scratching my head why someone would want to use fake
subdirectories to pass variables to a web application in a situation
such as mythtv.

Looking at the load on my mythtv server (especially on mysqld and
httpd) while the recorded programs page attempts to load I can't help
but wonder if the problems don't go a fair bit deeper than absolute
URLs.  I guess a little more poking around is in order.

- Ben

--
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?


More information about the mythtv-users mailing list