apache - Mod_rewrite .htaccess problems -


i'm having trouble .htaccess file i'm using, think issue conditions & rules i'm using examples have used have worked properly.

<ifmodule mod_rewrite.c>  rewriteengine on rewritecond %{request_uri} .*ts$|.*m3u8$ [nc]  rewriterule ^(.*) process.php?file=$1 [nc,l] </ifmodule> 

if can spot mistake , point me in write direction i'd grateful.

thanks

have .htaccess this:

rewriteengine on  rewriterule ^.*\.(?:ts|m3u8)$ process.php?file=$0 [nc,l,qsa] 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -