]> git.immae.eu Git - github/wallabag/wallabag.git/blame - .htaccess
Add .htaccess file to force download of poche export
[github/wallabag/wallabag.git] / .htaccess
CommitLineData
4ee705a7
N
1Options +FollowSymlinks
2RewriteEngine On
3RewriteRule ^dl/export_poche.json$ ?export [L]
4
5# Force download
6RewriteCond %{QUERY_STRING} =export
7RewriteRule ([^/]*)$ - [L,E=dl:$1]
8Header onsuccess set Content-disposition "attachment; filename=%{dl}e" env=dl