aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-03-21 12:28:00 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2023-03-21 12:28:00 +0000
commit62944a2af083b1ee620a93a278f533a7f03315e5 (patch)
treedfc47f026f1b93e5518ff284639b718526a98b42 /config
parent9f1ffc3f5907fbb3df7e7743540008bf366c75c6 (diff)
add B flag, fixes #2410
Closes #2410 Merge request studip/studip!1606
Diffstat (limited to 'config')
-rw-r--r--config/.htaccess.dist4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/.htaccess.dist b/config/.htaccess.dist
index accac89..d4ba3b1 100644
--- a/config/.htaccess.dist
+++ b/config/.htaccess.dist
@@ -1,8 +1,8 @@
#für rewrite wird die Option FollowSymLinks oder SymLinksIfOwnerMatch benötigt ...
#Options SymLinksIfOwnerMatch
#RewriteEngine on
-#RewriteRule ^download/(normal|force_download|zip)/([0-467])/([^/]+)/(.+)$ sendfile.php?$1=1&type=$2&file_id=$3&file_name=$4 [L]
-#RewriteRule ^download/(normal|force_download|zip)/5/([^/]+)/([^/]+)/(.+)$ sendfile.php?$1=1&type=5&range_id=$2&list_id=$3&file_name=$4 [L]
+#RewriteRule ^download/(normal|force_download|zip)/([0-467])/([^/]+)/(.+)$ sendfile.php?$1=1&type=$2&file_id=$3&file_name=$4 [L,B]
+#RewriteRule ^download/(normal|force_download|zip)/5/([^/]+)/([^/]+)/(.+)$ sendfile.php?$1=1&type=5&range_id=$2&list_id=$3&file_name=$4 [L,B]
#Apache 2.2
#Order Allow,Deny