From c848b93e4400f9dc0a8d2f4ede51b79e74f04c86 Mon Sep 17 00:00:00 2001 From: Oleksandr Shmyheliuk Date: Wed, 9 Nov 2016 16:14:58 +0200 Subject: [PATCH] MAGETWO-60633: [Github] .htaccess deny code execution not working for Apache + php-fpm #6766 --- pub/media/.htaccess | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pub/media/.htaccess b/pub/media/.htaccess index 5875c188092a0..477464932fc14 100644 --- a/pub/media/.htaccess +++ b/pub/media/.htaccess @@ -11,9 +11,8 @@ php_flag engine 0 AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi Options -ExecCGI - -Order allow,deny -Deny from all + +SetHandler default-hanlder