I have a php.conf file as well as a <mydomain>.conf inside of conf.d. php.conf is: <mydomain>.conf is: If there is a .php file inside of /uploads, it serves it as a PHP file instead of forcing the download. It seems php.conf is being loaded AFTER <mydomain>.conf and is overwriting it, because if I remove php.conf and restart apache all is well. Is there any way I can make my <directory> declaration, and forcing the download, have priority?