Skip to content

Commit

Permalink
MAGETWO-60633: [Github] .htaccess deny code execution not working for…
Browse files Browse the repository at this point in the history
… Apache + php-fpm #6766
  • Loading branch information
oshmyheliuk committed Nov 9, 2016
1 parent 47c3523 commit c848b93
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pub/media/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ php_flag engine 0
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI

<FilesMatch ".+\.(ph(p[3457]?|t|tml)|[aj]sp|p[ly]|sh|cgi|shtm|htm)$">
Order allow,deny
Deny from all
<FilesMatch ".+\.(ph(p[3457]?|t|tml)|[aj]sp|p[ly]|sh|cgi|shtml?|html?)$">
SetHandler default-hanlder
</FilesMatch>

<IfModule mod_rewrite.c>
Expand Down

0 comments on commit c848b93

Please sign in to comment.