.htaccess not rewriting properly for m3u8 playlist

I'm trying to generate a m3u8 playlist with a php script... It works but many applications don't accept the php extension, so I thought of using the htacces... with no luck

RewriteEngine On
RewriteRule ^(\.+).m3u8$ $1.m3u8.php [NC,L]

this does not work (gives a file not found when calling list.m3u8). Permission is 755. Never learned how .htaccess works so I'm not sure what's not working.



Read more here: https://stackoverflow.com/questions/64415655/htaccess-not-rewriting-properly-for-m3u8-playlist

Content Attribution

This content was originally published by gotch4 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: