Eric-Brison/dynacase-core/3.1-integration/App/Core/file.htaccess
#rewrite rules for download file
<FilesMatch "^.+$">
Order Allow,Deny
Allow from All
</FilesMatch>
RewriteEngine On
RewriteCond %{REQUEST_URI} !/guest.php$
RewriteCond %{REQUEST_URI} ^(.*)/file/[^/]*/[0-9]*/
RewriteRule ^([^/]*)/([0-9]*)/([^/]*)/([^/]*)/(.*)$ %1/?app=FDL&action=EXPORTFILE&docid=$1&vid=$2&attrid=$3&index=$4&filename=$5&$6 [L,QSA]
Files
