aboutsummaryrefslogblamecommitdiffhomepage
path: root/.htaccess
blob: 37b7701c8a1f6c78edb9ad261d92d481a1051d8f (plain) (tree)
1
2
3
4
5
6
7
8







                                                                            
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^dl/export_poche.json$ ?export [L]

# Force download
RewriteCond %{QUERY_STRING} =export
RewriteRule ([^/]*)$ - [L,E=dl:$1]
Header onsuccess set Content-disposition "attachment; filename=%{dl}e" env=dl