[mythtv-users] Mythweb streaming

Justin Johnson justin.johnson3 at gmail.com
Sat Dec 13 18:29:53 UTC 2008


Bobby Gill wrote:
>
>     What type of authentication are you using? Basic or Digest? I believe
>     the settings are in the mythweb.conf file. Mine is in the
>     /etc/httpd/conf.d folder but I'm using Fedora. You can always do a
>     $locate mythweb.conf to find it.
>
>
> It's in /etc/httpd/conf/extra. To set up my authentication I followed 
> this: http://www.mythtv.org/wiki/index.php/MythWeb#Other_Linux_Flavors 
> and here's my .htaccess:
>
> # Allow the webserver to follow symlinks in the data directory, but not to
> # execute any commands, browse directory indexes, etc.
>     Options -All +FollowSymLinks +IncludesNoExec
>
> AuthType           Digest
> AuthName           "MythTV"
> AuthUserFile       /etc/httpd/conf/httpd-passwords
> Require            valid-user
> BrowserMatch       "Gecko"      AuthDigestEnableQueryStringHack=On
> #Allow from 192.168.1. <http://192.168.1.>
> #Satisfy any
>
>
> I put "Gecko" in place of MSIE to test and I forgot to change it back, 
> but just changed it back to MSIE and no diff.
>
>
> Thanks
> Bob

AFAIK, VLC doesn't work with Digest Authentication. What I did to get 
around this was to allow access to the data folder to anyone. This may 
not be ideal, but it works. I added these lines to the top of my 
/etc/apache2/sites-available/mythweb.conf:

    <LocationMatch .*/pl/stream/[0-9]+/[0-9]+>
        Allow from all
    </LocationMatch>

    <LocationMatch .*/music/stream*>
        Allow from all
    </LocationMatch>

    <LocationMatch .*/video*>
        Allow from all
    </LocationMatch>



More information about the mythtv-users mailing list