J
J
jeler2014-03-06 20:00:57
htaccess
jeler, 2014-03-06 20:00:57

How to deal with directive in htaccess?

It is not possible to change / video / in the script to a dynamic folder. For example /sounds/ , /pictures/ any other, while maintaining performance.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^[a-z0-9]{1,5}[.](avi|mov|mp4|mpg) /video/default.php [L]

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question