How do I redirect a not found FLV file to a 404 FLV file, using .htaccess? -


itemprop = "text">

Using .htaccess, I * * in a directory all in a 404.flv file. For the same directory example:

If this file is not found: example.com/flv/ *. Flv

Use this file: example.com /flv/404.flv

Even so far away from me (I'm terribly bad):

  revivecond / flu /(.*). FLV! -f revised rule ^ /flv/404.flv [L, R = 301]  

thanks

You need two different positions and you want to return a 404 response.

  rewrite% {REQUEST_URI} ^ / flv /.* \. Flv $ rewrite% {REQUEST_FILENAME}! -f Rewrite rules *% {DOCUMENT_ROOT} / Flv / 404.flv [L, R = 404]  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -