I used the content below in a .htaccess file to prevent that certain files in a certain directory would be parsed.
AddType text/html .php3 .php4 .phtml .php
.py .pl .cgi .htm .html
Maybe you can do the same when defining the virtual host
This is not my territory so there are probably better ways to do it.