mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-30 13:01:07 +00:00
8 lines
No EOL
254 B
ApacheConf
8 lines
No EOL
254 B
ApacheConf
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 |