mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
8 lines
254 B
ApacheConf
8 lines
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 |