[mythtv-users] What NOT to do to your Myth box...

Robin Elvin rob at fearsedge.com
Thu Jan 13 13:06:00 EST 2005


On Thursday 13 January 2005 16:56, Ian Forde wrote:
> On Thu, 2005-01-13 at 11:11 -0500, tommy wrote:
> > So now I have a web server but nothing to put on it... How about I replicate
> > my mythweb interface on the web server realtime so I can see whats going on
> > from work.. cool... So I hack up a little cgi script that looks like so:
> > 
> > #!/bin/bash
> > cd /var/www/localhost/htdocs
> > /usr/bin/wget -r http://vector/mythtv/status.php -q
> > cat /var/www/localhost/htdocs/cgi-responses/mythtv-status.html
> > 
> > and boom, I can now see my mythtv status from outside without putting the
> > machine on the internet, thats pretty cool, how about what I've 
> > recorded, that
> > would be even cooler! so I hack up another cgi-script, but instead of
> > status.php I get recorded_programs.php, should work right??
> 
> Uhh... you *have* heard of a reverse proxy, right?  wget is absolutely
> the *wrong* way to solve that problem...
> 
>  -I
> 
> 

Absolutely.

I have:

ProxyPass               /mythtv http://mythbox/
ProxyPassReverse        /mythtv http://mythbox/

in my apache2.conf so all requests to my.domain.name/mythtv get forwarded to my MythTV box.

I only allow SSL and use .htaccess too of course.....

-- 
Rob


More information about the mythtv-users mailing list