aboutsummaryrefslogtreecommitdiffhomepage
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-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