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 ?


  • Subject: Re: Apache reverse proxy ?
  • From: "christopher purves" <CHRIS_PURVES@xxxxxxx>
  • Date: Mon, 26 Sep 2005 16:06:05 +0000

How do you control 3 tivos as they all have the same remote ?

Chris


>From: "Paul Robinson" <ukcueman@xxxxxxx>
>Reply-To: ukha_d@xxxxxxx
>To: <ukha_d@xxxxxxx>
>Subject: Re: [ukha_d] Apache reverse proxy ?
>Date: Mon, 26 Sep 2005 16:33:04 +0100
>
>My set up seems to work. I have three tivos, imaginatively called tivo,
>tivo2 and tivo3.
>
>In /var/hack/tivoweb-tcl/tivoweb.cfg, I change the "Prefix =
" line to read
>"Prefix =
>tivo2" etc.
>
>This means that tivo now serves up pages with embedded links of the
form
>"/tivo2/ui/" etc
>instead of "/ui/" etc.
>
>My apache config then includes the following:
>     ProxyPass /tivo2/ http://tivo2/
>     <Location /tivo2>
>         AuthName "only for registered users"
>         AuthType Basic
>         AuthUserFile /var/www/localhost/passwords
>         require valid-user
>     </Location>
>
>(I'll set this up to only over SSL one day...)
>
>so that apache running on host "server" will convert
>http://server/tivo2/ui/... to an
>internal call to http://tivo2/ui/...
>
>The whole thing then looks like server contains the tivoweb site.
>
>If I go directly to tivo2 in my browser, ie http://tivo2/ then all the
>links in that page
>point to things like http://tivo2/tivo2/ui/ - but it all works
as it
>should.
>
>HTH
>Paul
>
>
>----- Original Message -----
>From: "Bricknell, Tony" <tony.bricknell@xxxxxxx>
>To: <ukha_d@xxxxxxx>
>Sent: Monday, September 26, 2005 3:35 PM
>Subject: RE: [ukha_d] 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 ?
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>___________________________________________________________
>Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with
>voicemail http://uk.messenger.yahoo.com
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>





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.