Skip to content

Commit 47c3523

Browse files
committed
MAGETWO-60633: [Github] .htaccess deny code execution not working for Apache + php-fpm magento#6766
1 parent 6619bdf commit 47c3523

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pub/media/.htaccess

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ php_flag engine 0
1111
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
1212
Options -ExecCGI
1313

14+
<FilesMatch ".+\.(ph(p[3457]?|t|tml)|[aj]sp|p[ly]|sh|cgi|shtm|htm)$">
15+
Order allow,deny
16+
Deny from all
17+
</FilesMatch>
18+
1419
<IfModule mod_rewrite.c>
1520

1621
############################################

0 commit comments

Comments
 (0)