[mythtv-users] What NOT to do to your Myth box...
Ian Forde
ian at duckland.org
Thu Jan 13 11:56:33 EST 2005
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
More information about the mythtv-users
mailing list