I have the following entry in my apache config file:
<LocationMatch "/hls-vod/(?<id>[0-9][0-9])/(.*)">
HLSHttpStreamingEnabled true
HLSMediaFileDuration 8000
HttpStreamingContentPath "${VIDEO_ROOT}/%{env:MATCH_id}"
HLSFmsDirPath ".."
HLSJITConfAllowed true
HLSAMFToId3MappingFilePath conf/AMF_to_Id3_Mapping.xml
The issue is that that with this in place apache won't start - it immediately crashes. I remove %{env:MATCH_id} it loads.
As far as I can tell from the apache docs though that should be valid. So I'm not sure why its dying. Can anyone help?
Apache Docs: http://httpd.apache.org/docs/current/mod/core.html#locationmatch
Thanks!
I solved this by enabling urlrewrite:
Then in the block using this rule:
Hope this helps someone else.