[mythtv-users] MythWeb: ASX stream or direct download (over ADSL)?

James Miller gajs-f0el at dea.spamcon.org
Wed Mar 9 03:06:08 UTC 2016


On Tue, 8 Mar 2016, James Miller wrote:

> A very belated reply to my own thread with what seems like a resolution to 
> one of the issues about which I was inquiring back then. While trying to 
> troubleshoot a different issue resulting from a recent upgrade from Apache 
> 2.2 to 2.4, I ran across this relevant information, found in the mythweb.conf 
> file:
>
> ############################################################################
> # If you intend to use authentication for MythWeb (see below), you will
> # probably also want to uncomment the following rules, which disable
> # authentication for MythWeb's download URLs so you can properly stream
> # to media players that don't work with authenticated servers.
> #
> #    <LocationMatch .*/pl/stream/[0-9]+/[0-9]+>
> #        Allow from all
> #    </LocationMatch>
> #
> #    <LocationMatch .*/music/stream.php>
> #        Allow from all
> #    </LocationMatch>

I've discovered, after trying to implement this on my newly-upgraded 
Apache 2.4 system, that this solution to the problem of asx-streaming from 
an authenticated mythweb server, does not work: apache will not start due 
to errors it finds in the mythweb.conf file, errors resulting from the 
presence of the term "Allow." I suspect this is because the names for 
conditions in the new Apache version have changed, and "Allow" is no 
longer a valid argument. The question remains, then, what is the correct 
argument to use to get the desired behavior?

I gather from some reading I've been doing that the correct way to 
formulate "Allow from all" for these entries under 2.4 might be "Require 
all granted." Can anyone here more experienced in Apache configuration and 
administration confirm or refute this supposition?


More information about the mythtv-users mailing list