I have a directory for users to upload images only to. It runs on a perl script. The script allows me to choose files which are able to be uploaded.
But, recently someone uploaded cwings.php.jpg and it was able to execute.
Is there anyway to disable php in a directory. I’ve tried using scripts in the .htaccess file but nothing works. I understand it can be done in httpconfig, but I’m only on a DH virtual server.