The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Apache reverse proxy ?



I had a similar problem.  With help from this list I'm using Apache Reverse
Proxying on a contribs.org SME Server.  As I understand it, the problem is
with the relative/absolute path specified in the TivoWeb html - if you
could edit the html to specify relative rather than absolute links then it
would work.

I got mine working through much experimentation as...
www.mydomain.com/tivo was broke as you describe.  ("Info" links
to http://www.mydomain.com/info
and not www.mydomain.com/tivo/info)
However, setting up a different reverseproxy of tivo.mydomain.com works
fine (as "Info" links to http://tivo.mydomain.com/info).

Much reading on the subject suggested a module that re-writes the html
links on the fly, as the page is served.  I believe there was a way of
doing it with a "stand-alone" apache install but, as mine is
buried in the SME Server build, I played safe and left it alone instead
making do with the (working) tivo.mydomain.com

If you can't cope with tivo.mydomain.com then I'll have a rummage tonight
and see if I can find the details of that module...

-----Original Message-----
From: ukha_d@xxxxxxx [mailto:ukha_d@xxxxxxx]On Behalf Of
Marcus Warrington
Sent: 26 September 2005 15:14
To: ukha_d@xxxxxxx
Subject: [ukha_d] Apache reverse proxy ?


I've just setup a mythtv box (using knoppMyth install CD) using an old
800 Duron and Pinnacle PCTV pro card I had hanging around. So far I'm
pretty impressed. Its been happily recording TV for the past couple of
weeks without any issues. Next job is to change the analogue card for a
Nova-T free view card and record MPEG2 streams direct.

I've setup apache with basic authentication (for external IP address')
and can now access mythweb from work. What I am now trying to do is access
the TiVo via the same method. At work we have all ports firewalled except
80
(http) and 1722 (vpn) so I'm trying to setup reverse proxy using a
directory
extension i.e. http//81.nn.nnn.22/tivo/ should port forward through the
router
192.168.0.70/tivo which should in turn proxy to 192.168.0.222 (i.e. the
Tivo)

At the moment this all works as a forward proxy and I see the main title
screen
of TivoWebPlus. Problem is that the reverse proxying doesn't appear to be
working. i.e. all the .css effects are missing and if I click a link it
doesn't convert back to the correct address e.g.

192.168.0.70/tivo --> 192.168.0.222 --> (click on menu item ./ui)
--> 192.168.0.70/ui
(instead of 192.168.0.70/tivo/ui)

Has anyone got this working correctly ?

The version of Apache I have is 1.33.3-8

Marcus

ps. does anyone know of a source of new MythWEB themes and how to install
them ?



UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.