Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 5ee6395

Browse files
committed
Use default-handler to serve uploaded files. Closes #3381
Thanks @jm-hi-heg for the info about which Apache directive prevents script execution under a mod_suexec environment.
1 parent 8399f52 commit 5ee6395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/php/files/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# in the context of the website.
33
# They also force the content-type application/octet-stream and
44
# force browsers to display a download dialog for non-image files.
5-
SetHandler None
5+
SetHandler default-handler
66
ForceType application/octet-stream
77
Header set Content-Disposition attachment
88

0 commit comments

Comments
 (0)