Get_iplayer is streaming live TV!

d.lake at surrey.ac.uk d.lake at surrey.ac.uk
Mon Nov 28 07:11:54 PST 2016


Noted.  Thanks - another good idea :-)

-----Original Message-----
From: Nigel Taylor [mailto:njtaylor0101 at btinternet.com] 
Sent: 28 November 2016 14:57
To: Lake D Mr (PG/R - Elec Electronic Eng) <d.lake at surrey.ac.uk>; david at harleystreet.net
Cc: get_iplayer at lists.infradead.org
Subject: Re: Get_iplayer is streaming live TV!

Run get_iplayer.cgi  with option -l 127.0.0.1 -p 1935 to only listen on localhost port 1935.

Set up sshd, to allow port forwarding

then to access get_iplayer web pages.

ssh -f -L 1935:localhost:1935 host

Then just point browser to http://localhost:1935/

ssh should use keys with a passphrase.



Putting extras into the cgi script is not a good idea.


On 11/28/16 14:28, d.lake at surrey.ac.uk wrote:
> Correct, but that is not how the cgi script runs.  It is not a regular 
> Apache/HTTPD cgi-bin
> 
> It runs as a Daemon.  It doesn't read from a directory so it won't pick up any htaccess/htpassword.
> 
> I think I need to put a password module into the cgi script.
> 
> David
> 
> -----Original Message-----
> From: david at harleystreet.net [mailto:david at harleystreet.net]
> Sent: 28 November 2016 14:10
> To: Lake D Mr (PG/R - Elec Electronic Eng) <d.lake at surrey.ac.uk>
> Cc: get_iplayer at lists.infradead.org
> Subject: RE: Get_iplayer is streaming live TV!
> 
> I don't understand the problem.
> 
> As explained at the url I gave...
> 
> A typical .htaccess file looks like the following:
> 
> AuthUserFile /path/to/.htpasswd
> AuthType Basic
> AuthName "My restricted Area"
> Require valid-user
> 
> Then your .htpasswd is placed at the location referenced above.
> 
> 
> 
>> Yes, but that is for Apache, isn't it?
>>
>> I thought that get_iplayer.cgi ran as a Daemon (written in Perl).   How do I apply standard
>> htaccess to that ?
>>
>> Please excuse me if I'm being a little thick today (or at least more than usual).
>>
>> -----Original Message-----
>> From: david at harleystreet.net [mailto:david at harleystreet.net]
>> Sent: 28 November 2016 14:00
>> To: Lake D Mr (PG/R - Elec Electronic Eng) <d.lake at surrey.ac.uk>
>> Cc: roger at firedrake.org; get_iplayer at lists.infradead.org
>> Subject: RE: Get_iplayer is streaming live TV!
>>
>>
>>
>>> The answer is going to be some .htaccess-like username/password.
>>
>> It's pretty simple to create a password file using something like this...
>>
>> http://www.web2generators.com/apache-tools/htpasswd-generator
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 2016.0.7924 / Virus Database: 4664/13487 - Release Date: 
>> 11/27/16 _______________________________________________
>> get_iplayer mailing list
>> get_iplayer at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/get_iplayer
>>
>>
> 
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2016.0.7924 / Virus Database: 4664/13487 - Release Date: 
> 11/27/16 _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
> 


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7924 / Virus Database: 4664/13487 - Release Date: 11/27/16



More information about the get_iplayer mailing list