With disposisiton

RewriteEngine On
RewriteCond %{QUERY_STRING} name=(.*)$
RewriteRule .* - [E=FILENAME:%1]
Header set Content-Disposition: "attachment; filename=\"%{FILENAME}e\"" env=FILENAME

Wыthout despacition:

RewriteEngine On
RewriteCond %{QUERY_STRING} name=(.*)$
RewriteRule .* - [E=FILENAME:%1]
Header set Content-Disposition: "filename=\"%{FILENAME}e\"" env=FILENAME
[ ]
 

Leave a Reply

*