
bobbygill at rogers
Aug 10, 2008, 6:39 PM
Post #5 of 6
(310 views)
Permalink
|
|
Re: Can't get streaming to work w/Mythweb, help
[In reply to]
|
|
Okay, I tampered with my .htaccess changing AuthType from Digest to Basic, but then I couldn't log into Mythweb any longer (kept prompting for login in FF, although correct saved login/pass was already in the fields). What exactly do you recommend? I used the htdigest command to generate a httpd-passwords file and make a couple users (as per the README I linked to in previous message). Should I delete this file and my ~/public_html/mythweb/.htaccess file and start over using htpasswd instead, or ?? Thanks, Bob On Sun, Aug 10, 2008 at 11:31 AM, Ashley Bostock <abostock[at]gmail.com> wrote: > > On Fri, Aug 8, 2008 at 4:01 AM, Ashley Bostock <abostock[at]gmail.com> > wrote: > >> > >> 2008/8/8 Bobby Gill <bobbygill[at]rogers.com>: > >> > I just set up Mythweb and she runs fine in all respects but streaming. > I > >> > am > >> > running Arch linux on my desktop and server (mythbackend). I have > >> > Mythweb > >> > secured with a couple logins. So I am logged into Mythweb from my > >> > desktop > >> > and I add a few songs to the playlist, hit Play and in Firefox the > "Open > >> > with" dialog pops up, so I open the playlist with VLC, which prompts > me > >> > for > >> > a login and password, but it doesn't accept my correct login/pass. I > >> > even > >> > tried the second user's login/pass but it just doesn't accept, just > >> > keeps > >> > prompting. Here's the output from the error window in VLC: > >> > > >> > "Unable to open ' > http://192.168.1.100:1758/mythweb/music/stream?i=7316' > >> > Unable to open 'http://192.168.1.100:1758/mythweb/music/stream?i=8577 > ' > >> > Unable to open 'http://192.168.1.100:1758/mythweb/music/stream?i=8579 > ' > >> > Unable to open 'http://192.168.1.100:1758/mythweb/music/stream?i=8624 > '" > >> > > >> > I tried to open it with Amarok and Amarok gives me this error: > >> > > >> > "Error Loading Media > >> > No suitable input plugin. This often means that the url's protocol is > >> > not > >> > supported. Network failures are other possible causes. > >> > http://192.168.1.100:1758/mythweb/music/stream?i=7316" > >> > > >> > However I do see the songs added to the playlist in Amarok, but can't > >> > play > >> > them of course. > >> > > >> > > >> > Likewise, if I try to play a recording streamed, I click on the .asx > >> > link > >> > from Mythweb and open in VLC, I get: > >> > > >> > "Unable to open > >> > 'http://192.168.1.100:80/mythweb/pl/stream/1042/1218088800'" > >> > > >> > Any help would be greatly appreciated, thanks :) > >> > > >> > _______________________________________________ > >> > mythtv-users mailing list > >> > mythtv-users[at]mythtv.org > >> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > >> > > >> > > >> > >> Is is secured using AuthType Digest? From what I tested a while back > >> it seemed that very few players will work when apache is secured using > >> it. I had to switch mine back to AuthType Basic before anything would > >> work. I guess the alternative would be to make an exception for the > >> stream URL and have just that unsecured. > >> > >> Ash > >> _______________________________________________ > >> mythtv-users mailing list > >> mythtv-users[at]mythtv.org > >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > > > > > _______________________________________________ > > mythtv-users mailing list > > mythtv-users[at]mythtv.org > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > > > > 2008/8/8 Bobby Gill <bobbygill[at]rogers.com>: > > To secure Mythweb I used this: > > http://www.mythtv.org/wiki/index.php/MythWeb#Other_Linux_Flavors > > > > I used the "htdigest" commands there as follow. I did not use the Apache > > method. (I'm not knowledgeable enough in this respect to know if that's > > AuthType Digest, hopefully you can discern and tell me if it is). I'm > > curious, I just noticed that the .htaccess has a line: > > > > " BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On" > > > > Could you share what yours has? I use Firefox only, would this matter-- > > would I change this? > > > > Still no luck here. > > > > Bob > > > > > > I have this... > > AuthType Basic > AuthName "MythTV" > AuthUserFile /var/www/htpasswd > Require valid-user > BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On > > ...then just create the /var/www/htpasswd file using htpasswd. > > Assuming you are running myth 0.21 you should also read the README for > mythweb as it advises against using .htaccess files now. > > Q: Where did .htaccess go? > A: .htaccess has been replaced by apache- and lighttpd-specific > configuration > files. Your old .htaccess file should still work fine, but I encourage > you > to use the new conf file, since it reduces some of the load on the > webserver, > and takes advantage of some features not accessible through .htaccess. > > Ash > _______________________________________________ > mythtv-users mailing list > mythtv-users[at]mythtv.org > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users >
|