Add this into your vhost (making sure to match the Directory directive with the correct path):
1 2 3 4 5 6 7 |
<Directory /var/www/vhosts/mydomain.com/uploads> SetHandler none SetHandler default-handler Options -ExecCGI php_flag engine off RemoveHandler .cgi .php .php3 .php4 .php5 .phtml .pl .py .pyc .pyo .sh </Directory> |