Add a default htaccess that handle URL rewriting

This commit is contained in:
Sébastien Lucas 2012-10-29 11:58:02 +01:00
parent 1f70886b44
commit c5dcc8afea

6
.htaccess Normal file
View file

@ -0,0 +1,6 @@
<Files fetch.php>
XSendFile on
</Files>
RewriteEngine on
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]