aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNumEricR <eric.github@gmail.com>2013-09-26 23:25:01 +0200
committerNumEricR <eric.github@gmail.com>2013-09-28 11:15:35 +0200
commit4ee705a79c455ab01b4c8dd3ad9372d855bd2a88 (patch)
tree5c715e5d9f883d3dbaf086349c62a9f2487e1bbe
parent8623a5320078415f778c665c10827346512df448 (diff)
downloadwallabag-4ee705a79c455ab01b4c8dd3ad9372d855bd2a88.tar.gz
wallabag-4ee705a79c455ab01b4c8dd3ad9372d855bd2a88.tar.zst
wallabag-4ee705a79c455ab01b4c8dd3ad9372d855bd2a88.zip
Add .htaccess file to force download of poche export
-rw-r--r--.htaccess8
1 files changed, 8 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..37b7701c
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,8 @@
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 \ No newline at end of file