<div dir="ltr">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 ??<br>
<br>Thanks,<br>Bob<br><br><div class="gmail_quote">On Sun, Aug 10, 2008 at 11:31 AM, Ashley Bostock <span dir="ltr"><<a href="mailto:abostock@gmail.com">abostock@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">> On Fri, Aug 8, 2008 at 4:01 AM, Ashley Bostock <<a href="mailto:abostock@gmail.com">abostock@gmail.com</a>> wrote:<br>
>><br>
>> 2008/8/8 Bobby Gill <<a href="mailto:bobbygill@rogers.com">bobbygill@rogers.com</a>>:<br>
>> > I just set up Mythweb and she runs fine in all respects but streaming. I<br>
>> > am<br>
>> > running Arch linux on my desktop and server (mythbackend). I have<br>
>> > Mythweb<br>
>> > secured with a couple logins. So I am logged into Mythweb from my<br>
>> > desktop<br>
>> > and I add a few songs to the playlist, hit Play and in Firefox the "Open<br>
>> > with" dialog pops up, so I open the playlist with VLC, which prompts me<br>
>> > for<br>
>> > a login and password, but it doesn't accept my correct login/pass. I<br>
>> > even<br>
>> > tried the second user's login/pass but it just doesn't accept, just<br>
>> > keeps<br>
>> > prompting. Here's the output from the error window in VLC:<br>
>> ><br>
>> > "Unable to open '<a href="http://192.168.1.100:1758/mythweb/music/stream?i=7316" target="_blank">http://192.168.1.100:1758/mythweb/music/stream?i=7316</a>'<br>
>> > Unable to open '<a href="http://192.168.1.100:1758/mythweb/music/stream?i=8577" target="_blank">http://192.168.1.100:1758/mythweb/music/stream?i=8577</a>'<br>
>> > Unable to open '<a href="http://192.168.1.100:1758/mythweb/music/stream?i=8579" target="_blank">http://192.168.1.100:1758/mythweb/music/stream?i=8579</a>'<br>
>> > Unable to open '<a href="http://192.168.1.100:1758/mythweb/music/stream?i=8624" target="_blank">http://192.168.1.100:1758/mythweb/music/stream?i=8624</a>'"<br>
>> ><br>
>> > I tried to open it with Amarok and Amarok gives me this error:<br>
>> ><br>
>> > "Error Loading Media<br>
>> > No suitable input plugin. This often means that the url's protocol is<br>
>> > not<br>
>> > supported. Network failures are other possible causes.<br>
>> > <a href="http://192.168.1.100:1758/mythweb/music/stream?i=7316" target="_blank">http://192.168.1.100:1758/mythweb/music/stream?i=7316</a>"<br>
>> ><br>
>> > However I do see the songs added to the playlist in Amarok, but can't<br>
>> > play<br>
>> > them of course.<br>
>> ><br>
>> ><br>
>> > Likewise, if I try to play a recording streamed, I click on the .asx<br>
>> > link<br>
>> > from Mythweb and open in VLC, I get:<br>
>> ><br>
>> > "Unable to open<br>
>> > '<a href="http://192.168.1.100:80/mythweb/pl/stream/1042/1218088800" target="_blank">http://192.168.1.100:80/mythweb/pl/stream/1042/1218088800</a>'"<br>
>> ><br>
>> > Any help would be greatly appreciated, thanks :)<br>
>> ><br>
>> > _______________________________________________<br>
>> > mythtv-users mailing list<br>
>> > <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
>> > <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
>> ><br>
>> ><br>
>><br>
>> Is is secured using AuthType Digest? From what I tested a while back<br>
>> it seemed that very few players will work when apache is secured using<br>
>> it. I had to switch mine back to AuthType Basic before anything would<br>
>> work. I guess the alternative would be to make an exception for the<br>
>> stream URL and have just that unsecured.<br>
>><br>
>> Ash<br>
>> _______________________________________________<br>
>> mythtv-users mailing list<br>
>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
>> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
><br>
><br>
> _______________________________________________<br>
> mythtv-users mailing list<br>
> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
><br>
><br>
2008/8/8 Bobby Gill <<a href="mailto:bobbygill@rogers.com">bobbygill@rogers.com</a>>:<br>
> To secure Mythweb I used this:<br>
> <a href="http://www.mythtv.org/wiki/index.php/MythWeb#Other_Linux_Flavors" target="_blank">http://www.mythtv.org/wiki/index.php/MythWeb#Other_Linux_Flavors</a><br>
><br>
> I used the "htdigest" commands there as follow. I did not use the Apache<br>
> method. (I'm not knowledgeable enough in this respect to know if that's<br>
> AuthType Digest, hopefully you can discern and tell me if it is). I'm<br>
> curious, I just noticed that the .htaccess has a line:<br>
><br>
> " BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On"<br>
><br>
> Could you share what yours has? I use Firefox only, would this matter--<br>
> would I change this?<br>
><br>
> Still no luck here.<br>
><br>
> Bob<br>
><br>
><br>
<br>
</div></div>I have this...<br>
<br>
AuthType Basic<br>
AuthName "MythTV"<br>
AuthUserFile /var/www/htpasswd<br>
Require valid-user<br>
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On<br>
<br>
...then just create the /var/www/htpasswd file using htpasswd.<br>
<br>
Assuming you are running myth 0.21 you should also read the README for<br>
mythweb as it advises against using .htaccess files now.<br>
<br>
Q: Where did .htaccess go?<br>
A: .htaccess has been replaced by apache- and lighttpd-specific configuration<br>
files. Your old .htaccess file should still work fine, but I encourage you<br>
to use the new conf file, since it reduces some of the load on the webserver,<br>
and takes advantage of some features not accessible through .htaccess.<br>
<div><div></div><div class="Wj3C7c"><br>
Ash<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>